Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001282/0.001282, allocations: 69.33 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001427/0.001427, allocations: 163.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 55.34 kB / 325.6 MB, free: 464 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.09271, allocations: 53.34 MB / 378.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03335/0.1261, allocations: 24.02 MB / 402.9 MB, free: 7.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002951/0.129, allocations: 2.018 MB / 404.9 MB, free: 5.648 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.248e-05/0.1291, allocations: 3.938 kB / 404.9 MB, free: 5.645 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.1294, allocations: 55.66 kB / 405 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003934/0.1298, allocations: 163.1 kB / 405.2 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01556/0.1453, allocations: 6.508 MB / 411.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005066/0.1458, allocations: 342.6 kB / 412 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.974e-05/0.1459, allocations: 13.8 kB / 412 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.1461, allocations: 143.6 kB / 412.2 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.1464, allocations: 127.4 kB / 412.3 MB, free: 14.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.1464, allocations: 12 kB / 412.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01618/0.1626, allocations: 8.983 MB / 421.3 MB, free: 5.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.1627, allocations: 67.86 kB / 421.3 MB, free: 5.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.1629, allocations: 87.64 kB / 421.4 MB, free: 5.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009655/0.1725, allocations: 4.689 MB / 426.1 MB, free: 460 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1725, allocations: 0 / 426.1 MB, free: 460 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1726, allocations: 0 / 426.1 MB, free: 460 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1726, allocations: 0 / 426.1 MB, free: 460 kB / 382.1 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.002996/0.1756, allocations: 1.098 MB / 427.2 MB, free: 15.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1756, allocations: 8.031 kB / 427.2 MB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.1757, allocations: 28.22 kB / 427.3 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.176, allocations: 168.9 kB / 427.4 MB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.176, allocations: 12.33 kB / 427.4 MB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.1761, allocations: 19.95 kB / 427.4 MB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007881/0.1769, allocations: 388.2 kB / 427.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.1769, allocations: 11.98 kB / 427.8 MB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.1769, allocations: 7.938 kB / 427.8 MB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.177, allocations: 11.94 kB / 427.9 MB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008293/0.1778, allocations: 307.8 kB / 428.2 MB, free: 14.3 MB / 398.1 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.001392/0.1792, allocations: 0.6517 MB / 428.8 MB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007508/0.1799, allocations: 253.1 kB / 429.1 MB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.1803, allocations: 126.1 kB / 429.2 MB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0117/0.192, allocations: 2.69 MB / 431.9 MB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.192, allocations: 38.56 kB / 431.9 MB, free: 10.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.964e-06/0.192, allocations: 0 / 431.9 MB, free: 10.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002985/0.195, allocations: 0.7172 MB / 432.6 MB, free: 9.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.195, allocations: 81.11 kB / 432.7 MB, free: 9.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.1952, allocations: 149 kB / 432.8 MB, free: 9.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.1952, allocations: 29.7 kB / 432.9 MB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/0.1953, allocations: 116.9 kB / 433 MB, free: 9.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.1954, allocations: 126.9 kB / 433.1 MB, free: 9.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.1955, allocations: 73.62 kB / 433.2 MB, free: 9.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1957, allocations: 334.8 kB / 433.5 MB, free: 8.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.1961, allocations: 139.8 kB / 433.7 MB, free: 8.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005277/0.1966, allocations: 207.6 kB / 433.9 MB, free: 8.453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.1976, allocations: 357.7 kB / 434.2 MB, free: 8.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1976, allocations: 0 / 434.2 MB, free: 8.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001248/0.1989, allocations: 428.3 kB / 434.6 MB, free: 7.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1989, allocations: 11.92 kB / 434.6 MB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.1989, allocations: 8.219 kB / 434.6 MB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.1989, allocations: 4 kB / 434.6 MB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004938/0.1994, allocations: 87.88 kB / 434.7 MB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.1994, allocations: 7.938 kB / 434.7 MB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.1998, allocations: 27.88 kB / 434.8 MB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/0.1998, allocations: 23.92 kB / 434.8 MB, free: 7.488 MB / 398.1 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.0001552/0.2, allocations: 142.4 kB / 434.9 MB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.2001, allocations: 23.91 kB / 435 MB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004968/0.2006, allocations: 190.7 kB / 435.1 MB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.2006, allocations: 7.938 kB / 435.1 MB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2006, allocations: 4 kB / 435.1 MB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2006, allocations: 4 kB / 435.2 MB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.2024, allocations: 0.6762 MB / 435.8 MB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.2024, allocations: 4 kB / 435.8 MB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004687/0.2029, allocations: 79.88 kB / 435.9 MB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.2029, allocations: 4 kB / 435.9 MB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.2029, allocations: 8 kB / 435.9 MB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.2029, allocations: 7.984 kB / 435.9 MB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2029, allocations: 3.938 kB / 435.9 MB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.2046, allocations: 0.7154 MB / 436.7 MB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.2048, allocations: 51.75 kB / 436.7 MB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.2048, allocations: 8 kB / 436.7 MB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.2052, allocations: 24.05 kB / 436.7 MB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.2052, allocations: 35.83 kB / 436.8 MB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.2053, allocations: 15.98 kB / 436.8 MB, free: 5.395 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.771e-05/0.2054, allocations: 107.2 kB / 436.9 MB, free: 5.289 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2054, allocations: 0 / 436.9 MB, free: 5.289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002689/0.208, allocations: 0.9627 MB / 437.9 MB, free: 4.324 MB / 398.1 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.00391/0.212, allocations: 1.261 MB / 439.1 MB, free: 3.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.2131, allocations: 332 kB / 439.4 MB, free: 2.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.2131, allocations: 0 / 439.4 MB, free: 2.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005026/0.2136, allocations: 167.7 kB / 439.6 MB, free: 2.562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007762/0.2144, allocations: 100.1 kB / 439.7 MB, free: 2.465 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.2158, allocations: 0.6256 MB / 440.3 MB, free: 1.797 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.216, allocations: 133.8 kB / 440.5 MB, free: 1.641 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003329/0.2163, allocations: 86.17 kB / 440.5 MB, free: 1.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.2164, allocations: 40.47 kB / 440.6 MB, free: 1.52 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2164, allocations: 0 / 440.6 MB, free: 1.52 MB / 398.1 MB Notification: Performance of Templates: time 0.0451/0.2615, allocations: 30.09 MB / 470.7 MB, free: 3.512 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.375960318022408]