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.0009669/0.0009669, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.001013/0.001013, allocations: 145.1 kB / 24.54 MB, free: 36 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 0.8828/0.8828, allocations: 173.3 MB / 201.1 MB, free: 8.965 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.753e-06/1.753e-06, allocations: 0 / 268 MB, free: 6.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.83e-05, allocations: 6.25 kB / 268 MB, free: 6.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.218/0.218, allocations: 144.4 MB / 412.4 MB, free: 9.031 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.2194, allocations: 1.59 MB / 414 MB, free: 7.449 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.2195, allocations: 0 / 414 MB, free: 7.449 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.2199, allocations: 62.75 kB / 414 MB, free: 7.391 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.2202, allocations: 158.2 kB / 414.2 MB, free: 7.242 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.2222, allocations: 1.052 MB / 415.2 MB, free: 6.195 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.2226, allocations: 334.7 kB / 415.6 MB, free: 5.867 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.2226, allocations: 9.641 kB / 415.6 MB, free: 5.855 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.2229, allocations: 207.4 kB / 415.8 MB, free: 5.652 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.2231, allocations: 111.7 kB / 415.9 MB, free: 5.543 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.2231, allocations: 16 kB / 415.9 MB, free: 5.527 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.2247, allocations: 1.334 MB / 417.2 MB, free: 4.191 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.572e-05/0.2248, allocations: 71.8 kB / 417.3 MB, free: 4.121 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.702e-05/0.2249, allocations: 75.86 kB / 417.4 MB, free: 4.047 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.2262, allocations: 1.052 MB / 418.4 MB, free: 2.992 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2262, allocations: 0 / 418.4 MB, free: 2.992 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2262, allocations: 3.938 kB / 418.4 MB, free: 2.988 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.2263, allocations: 0 / 418.4 MB, free: 2.988 MB / 362.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.001122/0.2274, allocations: 0.6866 MB / 419.1 MB, free: 2.266 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2274, allocations: 8.922 kB / 419.1 MB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.2276, allocations: 40.72 kB / 419.2 MB, free: 2.219 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.2278, allocations: 160.6 kB / 419.3 MB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.2278, allocations: 16.27 kB / 419.4 MB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.2278, allocations: 16 kB / 419.4 MB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.2282, allocations: 322.6 kB / 419.7 MB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.2282, allocations: 0 / 419.7 MB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.2282, allocations: 8 kB / 419.7 MB, free: 1.641 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.91e-05/0.2282, allocations: 11.92 kB / 419.7 MB, free: 1.629 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.2285, allocations: 143.8 kB / 419.8 MB, free: 1.488 MB / 362.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.0009209/0.2294, allocations: 0.6816 MB / 420.5 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.2297, allocations: 182.2 kB / 420.7 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.2298, allocations: 92.33 kB / 420.8 MB, free: 468 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.23, allocations: 55.95 kB / 420.8 MB, free: 412 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.23, allocations: 41.38 kB / 420.9 MB, free: 360 kB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.033e-06/0.23, allocations: 4 kB / 420.9 MB, free: 356 kB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001014/0.231, allocations: 0.4902 MB / 421.4 MB, free: 15.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.231, allocations: 85.11 kB / 421.5 MB, free: 15.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.397e-05/0.2311, allocations: 177.8 kB / 421.6 MB, free: 15.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.2312, allocations: 33.7 kB / 421.7 MB, free: 15.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.2312, allocations: 159.6 kB / 421.8 MB, free: 15.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.135e-05/0.2313, allocations: 126.9 kB / 422 MB, free: 15.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.425e-05/0.2314, allocations: 79.3 kB / 422 MB, free: 15.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2315, allocations: 0.4962 MB / 422.5 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.2316, allocations: 80.64 kB / 422.6 MB, free: 14.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.2318, allocations: 185.1 kB / 422.8 MB, free: 14.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.232, allocations: 269.9 kB / 423 MB, free: 14.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.232, allocations: 0 / 423 MB, free: 14.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003869/0.2324, allocations: 324.9 kB / 423.4 MB, free: 13.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2324, allocations: 4 kB / 423.4 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.2324, allocations: 4 kB / 423.4 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2325, allocations: 7.625 kB / 423.4 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.2327, allocations: 79.89 kB / 423.5 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2327, allocations: 4 kB / 423.5 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.2328, allocations: 19.92 kB / 423.5 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.2328, allocations: 16 kB / 423.5 MB, free: 13.6 MB / 378.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.938e-05/0.2329, allocations: 180.7 kB / 423.7 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.233, allocations: 35.78 kB / 423.7 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.2332, allocations: 153.1 kB / 423.9 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2332, allocations: 8 kB / 423.9 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2332, allocations: 4 kB / 423.9 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2332, allocations: 3.984 kB / 423.9 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007224/0.234, allocations: 0.6319 MB / 424.5 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.234, allocations: 0 / 424.5 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.2342, allocations: 76.05 kB / 424.6 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2342, allocations: 0 / 424.6 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.2342, allocations: 12 kB / 424.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.2342, allocations: 0 / 424.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.2342, allocations: 7.938 kB / 424.6 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/0.2347, allocations: 0.6582 MB / 425.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.2348, allocations: 39.89 kB / 425.3 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.2348, allocations: 12 kB / 425.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.235, allocations: 19.92 kB / 425.3 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.235, allocations: 31.89 kB / 425.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.235, allocations: 12 kB / 425.4 MB, free: 11.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.289e-05/0.2351, allocations: 133 kB / 425.5 MB, free: 11.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2351, allocations: 0 / 425.5 MB, free: 11.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004055/0.2355, allocations: 147.7 kB / 425.6 MB, free: 11.33 MB / 378.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.000352/0.2358, allocations: 238.7 kB / 425.9 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003367/0.2362, allocations: 247.7 kB / 426.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2362, allocations: 4.438 kB / 426.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.2363, allocations: 142.3 kB / 426.3 MB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.2367, allocations: 118.8 kB / 426.4 MB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.2378, allocations: 0.5089 MB / 426.9 MB, free: 10.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.721e-05/0.2378, allocations: 89.33 kB / 427 MB, free: 9.926 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001983/0.238, allocations: 69.91 kB / 427 MB, free: 9.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.502e-05/0.2381, allocations: 32.48 kB / 427.1 MB, free: 9.824 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2381, allocations: 0 / 427.1 MB, free: 9.824 MB / 378.7 MB Notification: Performance of Templates: time 0.008091/0.2462, allocations: 6.805 MB / 433.9 MB, free: 3.129 MB / 378.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.948785383719951]