Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 100.3 kB / 21.73 MB, free: 2.691 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002323/0.002323, allocations: 163.2 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 250.3 MB, free: 7.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.295e-05/3.516e-05, allocations: 2.312 kB / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.04643/0.04647, allocations: 23.98 MB / 274.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003637/0.05011, allocations: 1.994 MB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.05021, allocations: 0 / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.05058, allocations: 63.59 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004592/0.05104, allocations: 151 kB / 276.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01678/0.06782, allocations: 6.236 MB / 282.8 MB, free: 7.301 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.06833, allocations: 322.7 kB / 283.1 MB, free: 6.984 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.06838, allocations: 13.31 kB / 283.1 MB, free: 6.969 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003556/0.06874, allocations: 171.5 kB / 283.3 MB, free: 6.801 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.06901, allocations: 119.6 kB / 283.4 MB, free: 6.684 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.06904, allocations: 8 kB / 283.4 MB, free: 6.676 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01796/0.08701, allocations: 8.876 MB / 292.3 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.08716, allocations: 71.84 kB / 292.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.08734, allocations: 71.83 kB / 292.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.1006, allocations: 5.846 MB / 298.3 MB, free: 7.785 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1006, allocations: 0 / 298.3 MB, free: 7.785 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1006, allocations: 0 / 298.3 MB, free: 7.785 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1006, allocations: 4 kB / 298.3 MB, free: 7.781 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003577/0.1042, allocations: 1.055 MB / 299.3 MB, free: 6.688 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1042, allocations: 15.98 kB / 299.3 MB, free: 6.672 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.1044, allocations: 48.47 kB / 299.4 MB, free: 6.625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.1047, allocations: 157 kB / 299.5 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.1047, allocations: 12.33 kB / 299.5 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.1048, allocations: 16 kB / 299.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008625/0.1057, allocations: 396.3 kB / 299.9 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.1057, allocations: 3.938 kB / 299.9 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.1057, allocations: 8 kB / 300 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.1057, allocations: 4 kB / 300 MB, free: 5.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008454/0.1066, allocations: 307.8 kB / 300.3 MB, free: 5.68 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.1081, allocations: 0.6556 MB / 300.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007746/0.1089, allocations: 229.2 kB / 301.1 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/0.1092, allocations: 129.6 kB / 301.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01263/0.1219, allocations: 2.711 MB / 304 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.102e-05/0.1219, allocations: 50.5 kB / 304 MB, free: 1.836 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 2.014e-06/0.1219, allocations: 0 / 304 MB, free: 1.836 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.003079/0.125, allocations: 0.715 MB / 304.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/0.1251, allocations: 81.11 kB / 304.8 MB, free: 1.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.1252, allocations: 133.7 kB / 304.9 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.1253, allocations: 33.7 kB / 305 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.81e-05/0.1254, allocations: 112.9 kB / 305.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.1255, allocations: 126.9 kB / 305.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.1257, allocations: 69.64 kB / 305.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.1259, allocations: 326.8 kB / 305.6 MB, free: 204 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004227/0.1263, allocations: 139.9 kB / 305.7 MB, free: 64 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.1269, allocations: 203.6 kB / 305.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.1279, allocations: 371.4 kB / 306.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1279, allocations: 4 kB / 306.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001332/0.1292, allocations: 448.9 kB / 306.7 MB, free: 15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1293, allocations: 8 kB / 306.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.1293, allocations: 7.984 kB / 306.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/0.1293, allocations: 12.16 kB / 306.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/0.1298, allocations: 87.88 kB / 306.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1298, allocations: 4 kB / 306.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.1301, allocations: 23.97 kB / 306.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.1302, allocations: 16 kB / 306.9 MB, free: 14.84 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001899/0.1304, allocations: 149.6 kB / 307 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.1306, allocations: 51.67 kB / 307.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005055/0.1311, allocations: 182.4 kB / 307.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1311, allocations: 4 kB / 307.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1311, allocations: 0 / 307.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.1311, allocations: 3.984 kB / 307.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.1329, allocations: 0.6659 MB / 307.9 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1329, allocations: 4.031 kB / 308 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.1334, allocations: 75.89 kB / 308 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.1334, allocations: 7.938 kB / 308 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.1334, allocations: 11.98 kB / 308 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.1334, allocations: 4 kB / 308 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.1334, allocations: 4 kB / 308.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.1354, allocations: 0.733 MB / 308.8 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.1355, allocations: 47.73 kB / 308.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.1356, allocations: 12 kB / 308.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.136, allocations: 28.03 kB / 308.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.136, allocations: 23.95 kB / 308.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.014e-05/0.1361, allocations: 12 kB / 308.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.437e-05/0.1362, allocations: 103.2 kB / 309 MB, free: 12.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1362, allocations: 0 / 309 MB, free: 12.63 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002972/0.1391, allocations: 0.9394 MB / 309.9 MB, free: 11.69 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00455/0.1437, allocations: 1.4 MB / 311.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.1448, allocations: 335.5 kB / 311.7 MB, free: 9.957 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.1448, allocations: 0 / 311.7 MB, free: 9.957 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005062/0.1454, allocations: 167.7 kB / 311.8 MB, free: 9.793 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008141/0.1462, allocations: 117.1 kB / 312 MB, free: 9.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.1476, allocations: 0.5357 MB / 312.5 MB, free: 9.098 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.1478, allocations: 128.9 kB / 312.6 MB, free: 8.949 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000367/0.1482, allocations: 85.88 kB / 312.7 MB, free: 8.867 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.1483, allocations: 36.48 kB / 312.7 MB, free: 8.832 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1483, allocations: 0 / 312.7 MB, free: 8.832 MB / 298.7 MB Notification: Performance of Templates: time 0.05226/0.2006, allocations: 31.42 MB / 344.2 MB, free: 9.391 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.569469989975914]