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.001338/0.001338, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001487/0.001487, allocations: 145.1 kB / 24.54 MB, free: 32 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.9413/0.9413, allocations: 173.3 MB / 201.1 MB, free: 9.336 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.933e-06/1.933e-06, allocations: 3.938 kB / 268 MB, free: 6.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.514e-05/3.707e-05, allocations: 10.25 kB / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2569/0.2569, allocations: 144.4 MB / 412.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.2583, allocations: 1.586 MB / 414 MB, free: 7.523 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.342e-05/0.2584, allocations: 3.938 kB / 414 MB, free: 7.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.2587, allocations: 58.62 kB / 414 MB, free: 7.465 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.259, allocations: 157 kB / 414.2 MB, free: 7.316 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.2611, allocations: 1.061 MB / 415.3 MB, free: 6.262 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.2614, allocations: 330.7 kB / 415.6 MB, free: 5.938 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.2614, allocations: 13.64 kB / 415.6 MB, free: 5.922 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.2617, allocations: 199.4 kB / 415.8 MB, free: 5.727 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.2619, allocations: 115.7 kB / 415.9 MB, free: 5.613 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.2619, allocations: 12 kB / 415.9 MB, free: 5.602 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.2636, allocations: 1.329 MB / 417.2 MB, free: 4.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.975e-05/0.2636, allocations: 79.78 kB / 417.3 MB, free: 4.191 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.54e-05/0.2637, allocations: 75.89 kB / 417.4 MB, free: 4.117 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.265, allocations: 1.048 MB / 418.4 MB, free: 3.066 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.265, allocations: 3.938 kB / 418.4 MB, free: 3.062 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.265, allocations: 0 / 418.4 MB, free: 3.062 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.265, allocations: 0 / 418.4 MB, free: 3.062 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.001031/0.2661, allocations: 0.6944 MB / 419.1 MB, free: 2.332 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2661, allocations: 8.922 kB / 419.1 MB, free: 2.324 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.2662, allocations: 36.78 kB / 419.2 MB, free: 2.289 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.2664, allocations: 160.5 kB / 419.3 MB, free: 2.105 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2664, allocations: 16.27 kB / 419.4 MB, free: 2.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.2665, allocations: 16 kB / 419.4 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.2668, allocations: 326.6 kB / 419.7 MB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.2668, allocations: 0 / 419.7 MB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.2668, allocations: 8 kB / 419.7 MB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/0.2669, allocations: 7.984 kB / 419.7 MB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000369/0.2672, allocations: 151.8 kB / 419.8 MB, free: 1.551 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.0009101/0.2681, allocations: 0.6738 MB / 420.5 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.2685, allocations: 186.2 kB / 420.7 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.2686, allocations: 92.2 kB / 420.8 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.2688, allocations: 51.97 kB / 420.8 MB, free: 484 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.2688, allocations: 37.39 kB / 420.9 MB, free: 436 kB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.2688, allocations: 0 / 420.9 MB, free: 436 kB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.00103/0.2698, allocations: 0.4994 MB / 421.4 MB, free: 15.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.2698, allocations: 85.09 kB / 421.5 MB, free: 15.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.432e-05/0.2699, allocations: 181.8 kB / 421.6 MB, free: 15.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.27, allocations: 33.7 kB / 421.7 MB, free: 15.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.27, allocations: 159.6 kB / 421.8 MB, free: 15.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/0.2701, allocations: 126.9 kB / 422 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.462e-05/0.2702, allocations: 75.3 kB / 422 MB, free: 15.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2703, allocations: 0.5001 MB / 422.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.2704, allocations: 79.95 kB / 422.6 MB, free: 14.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.2706, allocations: 185.1 kB / 422.8 MB, free: 14.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.2709, allocations: 270 kB / 423.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2709, allocations: 0.6875 kB / 423.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003913/0.2713, allocations: 313.8 kB / 423.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2713, allocations: 8 kB / 423.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2713, allocations: 224 / 423.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.2713, allocations: 8 kB / 423.4 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.2715, allocations: 83.83 kB / 423.5 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2715, allocations: 4 kB / 423.5 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.2717, allocations: 23.23 kB / 423.5 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.2717, allocations: 16 kB / 423.5 MB, free: 13.67 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 0.000104/0.2718, allocations: 176.5 kB / 423.7 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.2718, allocations: 35.83 kB / 423.7 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.2721, allocations: 156.1 kB / 423.9 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.2721, allocations: 8 kB / 423.9 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2721, allocations: 0 / 423.9 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2721, allocations: 3.984 kB / 423.9 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007888/0.2729, allocations: 0.6353 MB / 424.5 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2729, allocations: 0 / 424.5 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.2732, allocations: 67.91 kB / 424.6 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.2732, allocations: 4 kB / 424.6 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.2732, allocations: 15.92 kB / 424.6 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.2733, allocations: 12.09 kB / 424.6 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2733, allocations: 3.938 kB / 424.6 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.2741, allocations: 0.6576 MB / 425.3 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.781e-05/0.2742, allocations: 39.86 kB / 425.3 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.2742, allocations: 8 kB / 425.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.2744, allocations: 15.98 kB / 425.3 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.2745, allocations: 31.94 kB / 425.4 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.2745, allocations: 15.98 kB / 425.4 MB, free: 11.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.786e-05/0.2746, allocations: 133 kB / 425.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2746, allocations: 0 / 425.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005853/0.2751, allocations: 147.7 kB / 425.6 MB, free: 11.4 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.0004631/0.2756, allocations: 238.8 kB / 425.9 MB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004902/0.2761, allocations: 259.1 kB / 426.1 MB, free: 10.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2761, allocations: 0 / 426.1 MB, free: 10.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.2763, allocations: 136.1 kB / 426.3 MB, free: 10.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006866/0.277, allocations: 110.4 kB / 426.4 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.2785, allocations: 0.5089 MB / 426.9 MB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.856e-05/0.2786, allocations: 89.33 kB / 427 MB, free: 10 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002798/0.2789, allocations: 73.89 kB / 427 MB, free: 9.926 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.279, allocations: 32.48 kB / 427.1 MB, free: 9.895 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.279, allocations: 0 / 427.1 MB, free: 9.895 MB / 378.7 MB Notification: Performance of Templates: time 0.01026/0.2893, allocations: 6.087 MB / 433.2 MB, free: 3.918 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: 3.419525326695293]