Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 149.4 kB / 24.25 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.475e-05, allocations: 6.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1441/0.1441, allocations: 23.82 MB / 291.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.1465, allocations: 1.993 MB / 293.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.045e-05/0.1466, allocations: 1.156 kB / 293.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.1469, allocations: 61.52 kB / 293.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.1473, allocations: 158.8 kB / 293.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01419/0.1614, allocations: 6.554 MB / 299.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004314/0.1619, allocations: 321.8 kB / 300.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.1619, allocations: 6.281 kB / 300.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.1622, allocations: 177.5 kB / 300.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.1624, allocations: 118 kB / 300.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.1624, allocations: 12.09 kB / 300.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01507/0.1775, allocations: 8.983 MB / 309.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1776, allocations: 72.98 kB / 309.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.1777, allocations: 73.25 kB / 309.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009976/0.1877, allocations: 5.869 MB / 315.5 MB, free: 5.996 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1877, allocations: 4 kB / 315.5 MB, free: 5.992 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1877, allocations: 0 / 315.5 MB, free: 5.992 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1877, allocations: 0 / 315.5 MB, free: 5.992 MB / 266.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.002694/0.1904, allocations: 1.069 MB / 316.6 MB, free: 4.887 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1905, allocations: 11.83 kB / 316.6 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.1907, allocations: 37.34 kB / 316.6 MB, free: 4.844 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.1908, allocations: 163.1 kB / 316.8 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1909, allocations: 20.27 kB / 316.8 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.1909, allocations: 23.94 kB / 316.8 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006398/0.1916, allocations: 387.9 kB / 317.2 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.1916, allocations: 0 / 317.2 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.1916, allocations: 8 kB / 317.2 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.1916, allocations: 11.98 kB / 317.2 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006725/0.1923, allocations: 306.8 kB / 317.5 MB, free: 3.895 MB / 266.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.001135/0.1934, allocations: 0.6478 MB / 318.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/0.194, allocations: 247.5 kB / 318.4 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.1943, allocations: 129.6 kB / 318.5 MB, free: 2.832 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.2049, allocations: 2.713 MB / 321.3 MB, free: 140 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.2049, allocations: 34.56 kB / 321.3 MB, free: 96 kB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.974e-06/0.2049, allocations: 0 / 321.3 MB, free: 96 kB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.003043/0.2079, allocations: 0.7228 MB / 322 MB, free: 15.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.208, allocations: 81.11 kB / 322.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.2082, allocations: 129.7 kB / 322.2 MB, free: 15.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.2082, allocations: 37.7 kB / 322.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.515e-05/0.2083, allocations: 108.9 kB / 322.4 MB, free: 14.99 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.2084, allocations: 129.8 kB / 322.5 MB, free: 14.87 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.2086, allocations: 69.64 kB / 322.6 MB, free: 14.79 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003961/0.209, allocations: 330.8 kB / 322.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/0.2094, allocations: 135.9 kB / 323 MB, free: 14.33 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/0.2099, allocations: 202.6 kB / 323.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.211, allocations: 367.2 kB / 323.6 MB, free: 13.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.211, allocations: 3.562 kB / 323.6 MB, free: 13.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001335/0.2123, allocations: 465 kB / 324 MB, free: 13.29 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2123, allocations: 4 kB / 324 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.2123, allocations: 4 kB / 324 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.2123, allocations: 4 kB / 324 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/0.2128, allocations: 89.84 kB / 324.1 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.2129, allocations: 4 kB / 324.1 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.2132, allocations: 23.94 kB / 324.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.2132, allocations: 19.98 kB / 324.2 MB, free: 13.14 MB / 282.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.0001726/0.2134, allocations: 148.2 kB / 324.3 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.2136, allocations: 51.66 kB / 324.4 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005257/0.2141, allocations: 192.6 kB / 324.6 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2141, allocations: 8 kB / 324.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.2141, allocations: 4 kB / 324.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2141, allocations: 0 / 324.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.216, allocations: 0.6613 MB / 325.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.216, allocations: 0 / 325.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004543/0.2164, allocations: 89.12 kB / 325.3 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.2164, allocations: 0 / 325.3 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.2165, allocations: 15.98 kB / 325.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.2165, allocations: 7.938 kB / 325.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2165, allocations: 3.25 kB / 325.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.2183, allocations: 0.7287 MB / 326.1 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.2184, allocations: 47.89 kB / 326.1 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.2184, allocations: 11.94 kB / 326.1 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.2188, allocations: 15.98 kB / 326.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.2189, allocations: 27.95 kB / 326.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.2189, allocations: 15.98 kB / 326.2 MB, free: 11.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.901e-05/0.219, allocations: 99.27 kB / 326.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.219, allocations: 0 / 326.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002674/0.2217, allocations: 0.9433 MB / 327.2 MB, free: 10.03 MB / 282.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.004288/0.226, allocations: 1.387 MB / 328.6 MB, free: 8.754 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.2271, allocations: 339.3 kB / 328.9 MB, free: 8.434 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2271, allocations: 0 / 328.9 MB, free: 8.434 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005014/0.2276, allocations: 173.4 kB / 329.1 MB, free: 8.277 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000798/0.2284, allocations: 118.8 kB / 329.2 MB, free: 8.168 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.2299, allocations: 0.5392 MB / 329.8 MB, free: 7.602 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.23, allocations: 120.9 kB / 329.9 MB, free: 7.461 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003877/0.2304, allocations: 83.72 kB / 330 MB, free: 7.383 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.2306, allocations: 40.48 kB / 330 MB, free: 7.344 MB / 282.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2306, allocations: 0 / 330 MB, free: 7.344 MB / 282.7 MB Notification: Performance of Templates: time 0.04997/0.2806, allocations: 29.89 MB / 359.9 MB, free: 9.566 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.191077698022127]