Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00148/0.00148, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 162.9 kB / 24.99 MB, free: 8.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.93/0.93, allocations: 177 MB / 205.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 273 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.498e-05, allocations: 2.312 kB / 273 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1716/0.1716, allocations: 26.45 MB / 299.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.1738, allocations: 2.252 MB / 301.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.1739, allocations: 5 kB / 301.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.1742, allocations: 55.5 kB / 301.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.1746, allocations: 167.5 kB / 301.9 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01232/0.1869, allocations: 6.57 MB / 308.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000421/0.1873, allocations: 345.7 kB / 308.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.1874, allocations: 7.781 kB / 308.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.1876, allocations: 195.4 kB / 309 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.1878, allocations: 121.1 kB / 309.1 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.1878, allocations: 11.41 kB / 309.1 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01135/0.1992, allocations: 9.011 MB / 318.2 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.1993, allocations: 71.84 kB / 318.2 MB, free: 4.031 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.1995, allocations: 79.83 kB / 318.3 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.2099, allocations: 5.865 MB / 324.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2099, allocations: 0 / 324.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2099, allocations: 0 / 324.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.2099, allocations: 0 / 324.2 MB, free: 14.07 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.002171/0.212, allocations: 1.182 MB / 325.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.2121, allocations: 15.97 kB / 325.4 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.2122, allocations: 44.52 kB / 325.4 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.2124, allocations: 164.8 kB / 325.6 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2125, allocations: 12.33 kB / 325.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.2125, allocations: 23.95 kB / 325.6 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.2129, allocations: 334.6 kB / 325.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.2129, allocations: 0 / 325.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.213, allocations: 8 kB / 325.9 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.213, allocations: 11.94 kB / 325.9 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.2133, allocations: 156.5 kB / 326.1 MB, free: 12.03 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.0009048/0.2142, allocations: 0.6996 MB / 326.8 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.2146, allocations: 236 kB / 327 MB, free: 11.03 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.2147, allocations: 96.55 kB / 327.1 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005316/0.22, allocations: 2.714 MB / 329.8 MB, free: 8.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.2201, allocations: 41.39 kB / 329.9 MB, free: 8.164 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.764e-06/0.2201, allocations: 0 / 329.9 MB, free: 8.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001242/0.2213, allocations: 0.5381 MB / 330.4 MB, free: 7.621 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.2213, allocations: 85.09 kB / 330.5 MB, free: 7.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.2214, allocations: 198 kB / 330.7 MB, free: 7.312 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.2215, allocations: 29.7 kB / 330.7 MB, free: 7.277 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.2215, allocations: 167.6 kB / 330.9 MB, free: 7.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/0.2216, allocations: 126.9 kB / 331 MB, free: 6.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-05/0.2217, allocations: 79.33 kB / 331.1 MB, free: 6.895 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2218, allocations: 0.5001 MB / 331.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.2219, allocations: 79.95 kB / 331.7 MB, free: 6.305 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.2221, allocations: 189.6 kB / 331.9 MB, free: 6.082 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.2225, allocations: 277.1 kB / 332.1 MB, free: 5.777 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2225, allocations: 4 kB / 332.1 MB, free: 5.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005141/0.223, allocations: 347.6 kB / 332.5 MB, free: 5.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.223, allocations: 4.625 kB / 332.5 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.223, allocations: 7.203 kB / 332.5 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.223, allocations: 5.688 kB / 332.5 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.2232, allocations: 92.09 kB / 332.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.2233, allocations: 3.938 kB / 332.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.2234, allocations: 23.94 kB / 332.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.2234, allocations: 16 kB / 332.6 MB, free: 5.285 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 9.733e-05/0.2235, allocations: 180.4 kB / 332.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.2236, allocations: 47.67 kB / 332.8 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.2239, allocations: 165.1 kB / 333 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2239, allocations: 5.688 kB / 333 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2239, allocations: 3.984 kB / 333 MB, free: 4.879 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2239, allocations: 3.938 kB / 333 MB, free: 4.875 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007784/0.2247, allocations: 0.648 MB / 333.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2247, allocations: 0 / 333.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.2249, allocations: 71.89 kB / 333.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.2249, allocations: 7.938 kB / 333.7 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.2249, allocations: 16.8 kB / 333.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.2249, allocations: 7.938 kB / 333.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2249, allocations: 0 / 333.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006593/0.2256, allocations: 0.6706 MB / 334.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-05/0.2256, allocations: 55.72 kB / 334.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.2257, allocations: 8 kB / 334.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.2258, allocations: 18.94 kB / 334.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.2258, allocations: 23.95 kB / 334.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.2259, allocations: 15.98 kB / 334.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.193e-05/0.2259, allocations: 147.2 kB / 334.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2259, allocations: 3.938 kB / 334.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001854/0.2278, allocations: 0.9667 MB / 335.7 MB, free: 2.117 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.002531/0.2303, allocations: 1.375 MB / 337 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004147/0.2307, allocations: 263.1 kB / 337.3 MB, free: 480 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2307, allocations: 0 / 337.3 MB, free: 480 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.2309, allocations: 143.3 kB / 337.4 MB, free: 332 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.2314, allocations: 109.2 kB / 337.5 MB, free: 232 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.2325, allocations: 0.5398 MB / 338.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.82e-05/0.2325, allocations: 93.62 kB / 338.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002045/0.2327, allocations: 77.23 kB / 338.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.2328, allocations: 44.47 kB / 338.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of SimCode: time 9.81e-07/0.2328, allocations: 0 / 338.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of Templates: time 0.02779/0.2606, allocations: 30.94 MB / 369.2 MB, free: 0.5469 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.855299010174349]