Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001507/0.001507, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.002092/0.002092, allocations: 169.4 kB / 24.99 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.054/1.054, allocations: 177.1 MB / 205.3 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2647/0.2647, allocations: 34.26 MB / 296 MB, free: 0.7852 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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|Tsat",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 378 MB, free: 3.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.628e-05, allocations: 10.25 kB / 378 MB, free: 3.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.276/0.276, allocations: 146.6 MB / 0.5123 GB, free: 17.51 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.2773, allocations: 1.459 MB / 0.5137 GB, free: 16.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/0.2774, allocations: 0 / 0.5137 GB, free: 16.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.2777, allocations: 42.83 kB / 0.5138 GB, free: 16.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.2802, allocations: 1.101 MB / 0.5148 GB, free: 16.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.727e-06/0.2802, allocations: 0 / 0.5148 GB, free: 16.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.2803, allocations: 74.28 kB / 0.5149 GB, free: 16.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.993e-05/0.2803, allocations: 7.797 kB / 0.5149 GB, free: 16.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.621e-05/0.2804, allocations: 27.67 kB / 0.515 GB, free: 16.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.851e-05/0.2804, allocations: 28.33 kB / 0.515 GB, free: 16.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.2804, allocations: 6.859 kB / 0.515 GB, free: 16.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.2823, allocations: 1.618 MB / 0.5166 GB, free: 15.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/0.2824, allocations: 19.61 kB / 0.5166 GB, free: 15.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.2824, allocations: 11.45 kB / 0.5166 GB, free: 15.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.2835, allocations: 1.037 MB / 0.5176 GB, free: 15.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2835, allocations: 4 kB / 0.5176 GB, free: 15.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2835, allocations: 0 / 0.5176 GB, free: 15.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.2835, allocations: 0 / 0.5176 GB, free: 15.25 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005775/0.2841, allocations: 0.5347 MB / 0.5181 GB, free: 14.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.2841, allocations: 9.281 kB / 0.5181 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.2842, allocations: 5.656 kB / 0.5181 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.006e-05/0.2842, allocations: 116.4 kB / 0.5183 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2843, allocations: 7.109 kB / 0.5183 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.2843, allocations: 7.406 kB / 0.5183 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.2844, allocations: 50.16 kB / 0.5183 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2844, allocations: 11.92 kB / 0.5183 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.2844, allocations: 2.438 kB / 0.5183 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/0.2844, allocations: 7.578 kB / 0.5183 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.809e-05/0.2845, allocations: 29.44 kB / 0.5184 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.2848, allocations: 307.2 kB / 0.5187 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.749e-05/0.2849, allocations: 52.3 kB / 0.5187 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.2849, allocations: 10.69 kB / 0.5187 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.285, allocations: 29.97 kB / 0.5188 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.285, allocations: 35.78 kB / 0.5188 GB, free: 14.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.285, allocations: 0 / 0.5188 GB, free: 14.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001594/0.2852, allocations: 65.56 kB / 0.5188 GB, free: 14.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.2852, allocations: 55.34 kB / 0.5189 GB, free: 14.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.211e-05/0.2853, allocations: 174.8 kB / 0.5191 GB, free: 13.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.34e-06/0.2853, allocations: 25.7 kB / 0.5191 GB, free: 13.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/0.2853, allocations: 150.3 kB / 0.5192 GB, free: 13.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.524e-06/0.2853, allocations: 7.906 kB / 0.5192 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.2853, allocations: 34.91 kB / 0.5193 GB, free: 13.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.844e-05/0.2854, allocations: 494.6 kB / 0.5197 GB, free: 13.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.2854, allocations: 5.375 kB / 0.5198 GB, free: 13.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.814e-05/0.2854, allocations: 48.23 kB / 0.5198 GB, free: 13.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.537e-05/0.2855, allocations: 64.97 kB / 0.5199 GB, free: 13.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2855, allocations: 0 / 0.5199 GB, free: 13.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.12e-05/0.2855, allocations: 82.22 kB / 0.5199 GB, free: 13.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.2856, allocations: 6 kB / 0.5199 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2856, allocations: 0 / 0.5199 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2856, allocations: 0 / 0.5199 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.523e-05/0.2856, allocations: 18.22 kB / 0.52 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.2856, allocations: 4.031 kB / 0.52 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.2857, allocations: 15.22 kB / 0.52 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.2857, allocations: 3.344 kB / 0.52 GB, free: 13 MB / 410.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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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.761e-05/0.2857, allocations: 155.7 kB / 0.5201 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.2857, allocations: 10.2 kB / 0.5201 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.2858, allocations: 71.22 kB / 0.5202 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.2858, allocations: 5.141 kB / 0.5202 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.2858, allocations: 4 kB / 0.5202 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2858, allocations: 3.938 kB / 0.5202 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.863e-05/0.2859, allocations: 121 kB / 0.5203 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2859, allocations: 0 / 0.5203 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.697e-05/0.2859, allocations: 12.64 kB / 0.5203 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2859, allocations: 0 / 0.5203 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.286, allocations: 6.812 kB / 0.5204 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.286, allocations: 0 / 0.5204 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.286, allocations: 0 / 0.5204 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.619e-05/0.286, allocations: 214.2 kB / 0.5206 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-06/0.286, allocations: 7.016 kB / 0.5206 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.286, allocations: 4 kB / 0.5206 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.472e-05/0.2861, allocations: 0 / 0.5206 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.2861, allocations: 5.578 kB / 0.5206 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.2861, allocations: 6.922 kB / 0.5206 GB, free: 12.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.743e-05/0.2861, allocations: 129.9 kB / 0.5207 GB, free: 12.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2861, allocations: 0 / 0.5207 GB, free: 12.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003124/0.2864, allocations: 150.1 kB / 0.5209 GB, free: 12.26 MB / 410.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 (5): * Single equations (assignments): 4 * Array equations: 1 * 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.0004747/0.2869, allocations: 358.8 kB / 0.5212 GB, free: 12.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.287, allocations: 36.7 kB / 0.5212 GB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.287, allocations: 0 / 0.5212 GB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.765e-05/0.287, allocations: 29.66 kB / 0.5213 GB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.2872, allocations: 15.16 kB / 0.5213 GB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006233/0.2879, allocations: 178.6 kB / 0.5214 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.485e-05/0.2879, allocations: 63.39 kB / 0.5215 GB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.95e-05/0.2879, allocations: 20.09 kB / 0.5215 GB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.288, allocations: 14.16 kB / 0.5215 GB, free: 11.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.288, allocations: 0 / 0.5215 GB, free: 11.83 MB / 410.7 MB Notification: Performance of Templates: time 0.004921/0.2929, allocations: 3.752 MB / 0.5252 GB, free: 11.46 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/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.6063496889546514]