Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008196/0.0008196, allocations: 84.44 kB / 20.69 MB, free: 3.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007753/0.0007753, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8059/0.8059, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.126/0.126, allocations: 32.36 MB / 270.4 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 408.1 MB, free: 1.773 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.471e-05, allocations: 6.219 kB / 408.1 MB, free: 1.766 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2678/0.2678, allocations: 131 MB / 0.5264 GB, free: 23.75 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.2688, allocations: 1.074 MB / 0.5275 GB, free: 23.06 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.2689, allocations: 0 / 0.5275 GB, free: 23.06 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.2692, allocations: 35.33 kB / 0.5275 GB, free: 23.05 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002018/0.2712, allocations: 0.9083 MB / 0.5284 GB, free: 22.64 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.891e-06/0.2712, allocations: 0 / 0.5284 GB, free: 22.64 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.2713, allocations: 45.86 kB / 0.5284 GB, free: 22.62 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.2714, allocations: 5.875 kB / 0.5284 GB, free: 22.62 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.008e-05/0.2714, allocations: 20.3 kB / 0.5285 GB, free: 22.61 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.163e-05/0.2715, allocations: 23.42 kB / 0.5285 GB, free: 22.61 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.2715, allocations: 0 / 0.5285 GB, free: 22.61 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.2735, allocations: 1.387 MB / 0.5298 GB, free: 22.24 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.2735, allocations: 16.55 kB / 0.5299 GB, free: 22.23 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.2736, allocations: 6.844 kB / 0.5299 GB, free: 22.23 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.2748, allocations: 0.8559 MB / 0.5307 GB, free: 21.99 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2748, allocations: 0 / 0.5307 GB, free: 21.99 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2748, allocations: 0 / 0.5307 GB, free: 21.99 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.2749, allocations: 0 / 0.5307 GB, free: 21.99 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006106/0.2755, allocations: 398.8 kB / 0.5311 GB, free: 21.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2755, allocations: 9.656 kB / 0.5311 GB, free: 21.63 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.2755, allocations: 6.406 kB / 0.5311 GB, free: 21.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.437e-05/0.2756, allocations: 108.2 kB / 0.5312 GB, free: 21.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.2756, allocations: 4.094 kB / 0.5312 GB, free: 21.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.2756, allocations: 1.844 kB / 0.5312 GB, free: 21.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.2757, allocations: 79.36 kB / 0.5313 GB, free: 21.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.2757, allocations: 0 / 0.5313 GB, free: 21.45 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.2757, allocations: 0 / 0.5313 GB, free: 21.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.2758, allocations: 8.547 kB / 0.5313 GB, free: 21.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.339e-05/0.2758, allocations: 49.12 kB / 0.5313 GB, free: 21.44 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.2761, allocations: 251.8 kB / 0.5316 GB, free: 21.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.559e-05/0.2762, allocations: 34.17 kB / 0.5316 GB, free: 21.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.2762, allocations: 14.73 kB / 0.5316 GB, free: 21.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.239e-05/0.2763, allocations: 14.64 kB / 0.5316 GB, free: 21.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.2763, allocations: 35.81 kB / 0.5317 GB, free: 21.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.2763, allocations: 1.281 kB / 0.5317 GB, free: 21.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001449/0.2765, allocations: 51.2 kB / 0.5317 GB, free: 21.08 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.2765, allocations: 52.59 kB / 0.5318 GB, free: 21.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.416e-05/0.2765, allocations: 101.3 kB / 0.5319 GB, free: 20.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-06/0.2765, allocations: 25.7 kB / 0.5319 GB, free: 20.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.484e-05/0.2766, allocations: 96.27 kB / 0.532 GB, free: 20.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.113e-06/0.2766, allocations: 9.219 kB / 0.532 GB, free: 20.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.2766, allocations: 25.95 kB / 0.532 GB, free: 20.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.668e-05/0.2766, allocations: 319.9 kB / 0.5323 GB, free: 20.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.2766, allocations: 9.047 kB / 0.5323 GB, free: 20.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.781e-05/0.2767, allocations: 37.27 kB / 0.5324 GB, free: 20.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.038e-05/0.2767, allocations: 47.03 kB / 0.5324 GB, free: 20.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2767, allocations: 0 / 0.5324 GB, free: 20.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.099e-05/0.2768, allocations: 71.66 kB / 0.5325 GB, free: 20.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2768, allocations: 9.438 kB / 0.5325 GB, free: 20.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2768, allocations: 1.188 kB / 0.5325 GB, free: 20.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2768, allocations: 4.281 kB / 0.5325 GB, free: 20.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.951e-05/0.2769, allocations: 8.781 kB / 0.5325 GB, free: 20.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.2769, allocations: 3.859 kB / 0.5325 GB, free: 20.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/0.2769, allocations: 14.38 kB / 0.5325 GB, free: 20.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.2769, allocations: 2.812 kB / 0.5325 GB, free: 20.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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 3.589e-05/0.277, allocations: 109.1 kB / 0.5326 GB, free: 20.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.277, allocations: 6.391 kB / 0.5326 GB, free: 20.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.2771, allocations: 70.23 kB / 0.5327 GB, free: 20.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2771, allocations: 0 / 0.5327 GB, free: 20.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2771, allocations: 1.594 kB / 0.5327 GB, free: 20.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2771, allocations: 0 / 0.5327 GB, free: 20.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.84e-05/0.2772, allocations: 109.4 kB / 0.5328 GB, free: 20 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2772, allocations: 0 / 0.5328 GB, free: 20 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.479e-05/0.2772, allocations: 5.156 kB / 0.5328 GB, free: 20 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.2772, allocations: 480 / 0.5328 GB, free: 20 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.2772, allocations: 1.125 kB / 0.5328 GB, free: 20 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.2772, allocations: 4 kB / 0.5328 GB, free: 19.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2772, allocations: 3.469 kB / 0.5328 GB, free: 19.99 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.428e-05/0.2772, allocations: 151 kB / 0.533 GB, free: 19.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.2772, allocations: 2.828 kB / 0.533 GB, free: 19.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.2773, allocations: 1.062 kB / 0.533 GB, free: 19.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.35e-05/0.2773, allocations: 0 / 0.533 GB, free: 19.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.2773, allocations: 6.047 kB / 0.533 GB, free: 19.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.2773, allocations: 1.062 kB / 0.533 GB, free: 19.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.374e-05/0.2773, allocations: 81.89 kB / 0.5331 GB, free: 19.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2773, allocations: 0 / 0.5331 GB, free: 19.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003403/0.2777, allocations: 99.11 kB / 0.5331 GB, free: 19.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0004329/0.2781, allocations: 265.3 kB / 0.5334 GB, free: 19.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.879e-05/0.2782, allocations: 27.39 kB / 0.5334 GB, free: 19.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2782, allocations: 0.7812 kB / 0.5334 GB, free: 19.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.626e-06/0.2782, allocations: 5.75 kB / 0.5334 GB, free: 19.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.2784, allocations: 5.406 kB / 0.5334 GB, free: 19.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.2786, allocations: 159 kB / 0.5336 GB, free: 19.44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.208e-05/0.2787, allocations: 64.45 kB / 0.5336 GB, free: 19.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.2787, allocations: 12.69 kB / 0.5337 GB, free: 19.36 MB / 442.7 MB Notification: Performance of SimCode: time 6.52e-07/0.2787, allocations: 0 / 0.5337 GB, free: 19.36 MB / 442.7 MB Notification: Performance of Templates: time 0.003299/0.282, allocations: 2.337 MB / 0.5359 GB, free: 19.11 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.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: 5.113996382802725]