Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.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.001371/0.001371, allocations: 80.62 kB / 22.21 MB, free: 2.293 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.001444/0.001444, allocations: 139.5 kB / 25.59 MB, free: 8.453 MB / 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 0.858/0.858, allocations: 173.4 MB / 202.2 MB, free: 8.297 MB / 186.7 MB " [Timeout remaining time 179] 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 269.2 MB, free: 9.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.455e-05, allocations: 2.312 kB / 269.2 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2228/0.2228, allocations: 141.7 MB / 410.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.2244, allocations: 1.57 MB / 412.4 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.2245, allocations: 4 kB / 412.4 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.2248, allocations: 58.62 kB / 412.5 MB, free: 9.289 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.2251, allocations: 156.1 kB / 412.6 MB, free: 9.141 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.2269, allocations: 1.058 MB / 413.7 MB, free: 8.09 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.2272, allocations: 334.7 kB / 414 MB, free: 7.762 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.2272, allocations: 13.64 kB / 414 MB, free: 7.746 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.2275, allocations: 203.4 kB / 414.2 MB, free: 7.547 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.2276, allocations: 115.7 kB / 414.3 MB, free: 7.434 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.2276, allocations: 12 kB / 414.4 MB, free: 7.422 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.229, allocations: 1.333 MB / 415.7 MB, free: 6.086 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.386e-05/0.2291, allocations: 71.8 kB / 415.8 MB, free: 6.016 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/0.2292, allocations: 79.88 kB / 415.8 MB, free: 5.938 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.2303, allocations: 1.04 MB / 416.9 MB, free: 4.895 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2303, allocations: 4 kB / 416.9 MB, free: 4.891 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2303, allocations: 0 / 416.9 MB, free: 4.891 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.2303, allocations: 0 / 416.9 MB, free: 4.891 MB / 330.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.0009654/0.2312, allocations: 0.6943 MB / 417.6 MB, free: 4.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.2313, allocations: 8.031 kB / 417.6 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.2314, allocations: 40.78 kB / 417.6 MB, free: 4.113 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.2316, allocations: 156.5 kB / 417.8 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.2316, allocations: 12.27 kB / 417.8 MB, free: 3.922 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.2316, allocations: 20 kB / 417.8 MB, free: 3.902 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.2319, allocations: 310.5 kB / 418.1 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2319, allocations: 3.938 kB / 418.1 MB, free: 3.555 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.2319, allocations: 8 kB / 418.1 MB, free: 3.547 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.2319, allocations: 11.98 kB / 418.1 MB, free: 3.535 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.2321, allocations: 121.8 kB / 418.2 MB, free: 3.418 MB / 330.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.0007316/0.2328, allocations: 0.6471 MB / 418.9 MB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004974/0.2333, allocations: 170.2 kB / 419.1 MB, free: 2.539 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.99e-05/0.2334, allocations: 88.31 kB / 419.1 MB, free: 2.445 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.2335, allocations: 47.97 kB / 419.2 MB, free: 2.398 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.2336, allocations: 45.38 kB / 419.2 MB, free: 2.344 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.383e-06/0.2336, allocations: 3.938 kB / 419.2 MB, free: 2.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007825/0.2343, allocations: 432.4 kB / 419.7 MB, free: 1.914 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.2344, allocations: 85.05 kB / 419.7 MB, free: 1.812 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.799e-05/0.2344, allocations: 177.9 kB / 419.9 MB, free: 1.621 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.2345, allocations: 29.7 kB / 419.9 MB, free: 1.586 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.2345, allocations: 159.6 kB / 420.1 MB, free: 1.426 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.686e-05/0.2346, allocations: 130.9 kB / 420.2 MB, free: 1.297 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.838e-05/0.2347, allocations: 79.28 kB / 420.3 MB, free: 1.211 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2348, allocations: 0.4962 MB / 420.8 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-05/0.2348, allocations: 63.94 kB / 420.9 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.2349, allocations: 173 kB / 421 MB, free: 444 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.2352, allocations: 235.6 kB / 421.3 MB, free: 172 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2352, allocations: 7.875 kB / 421.3 MB, free: 164 kB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003098/0.2355, allocations: 279.5 kB / 421.5 MB, free: 15.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.2355, allocations: 8 kB / 421.6 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.2355, allocations: 4 kB / 421.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.2355, allocations: 4 kB / 421.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.2357, allocations: 76.11 kB / 421.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2357, allocations: 8.688 kB / 421.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.2358, allocations: 27.88 kB / 421.7 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.2358, allocations: 8 kB / 421.7 MB, free: 15.75 MB / 346.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 8.726e-05/0.2359, allocations: 176.5 kB / 421.9 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.236, allocations: 31.84 kB / 421.9 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.2362, allocations: 147.1 kB / 422 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.2362, allocations: 4 kB / 422 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2362, allocations: 0.875 kB / 422 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2362, allocations: 3.984 kB / 422 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006388/0.2368, allocations: 0.5862 MB / 422.6 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2368, allocations: 0 / 422.6 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.237, allocations: 75.89 kB / 422.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.237, allocations: 4 kB / 422.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.237, allocations: 15.3 kB / 422.7 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.237, allocations: 4 kB / 422.7 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.237, allocations: 0 / 422.7 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.2375, allocations: 0.6266 MB / 423.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.2375, allocations: 35.86 kB / 423.4 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.2376, allocations: 12 kB / 423.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.2377, allocations: 15.98 kB / 423.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.2377, allocations: 35.83 kB / 423.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.2378, allocations: 8 kB / 423.5 MB, free: 13.87 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.518e-05/0.2378, allocations: 133 kB / 423.6 MB, free: 13.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2378, allocations: 4.031 kB / 423.6 MB, free: 13.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003455/0.2381, allocations: 147.6 kB / 423.7 MB, free: 13.59 MB / 346.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 (38): * Single equations (assignments): 38 * 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.0003015/0.2384, allocations: 238.8 kB / 424 MB, free: 13.35 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.2387, allocations: 227 kB / 424.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.2387, allocations: 0 / 424.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.2388, allocations: 116.9 kB / 424.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.2392, allocations: 109.6 kB / 424.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008214/0.24, allocations: 0.5047 MB / 424.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.15e-05/0.2401, allocations: 85.33 kB / 425 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001759/0.2403, allocations: 53.92 kB / 425 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.2405, allocations: 166.1 kB / 425.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of SimCode: time 7.92e-07/0.2405, allocations: 0 / 425.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of Templates: time 0.007686/0.2482, allocations: 7.095 MB / 432.3 MB, free: 5.074 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/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: 2.9088512351736426]