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.001708/0.001708, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 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.0021/0.0021, allocations: 213.6 kB / 23.75 MB, free: 4.668 MB / 14.72 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.663/1.663, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.2426/0.2426, allocations: 46.93 MB / 360.8 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002239/0.002239, allocations: 75.88 kB / 0.4966 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.373, allocations: 66.02 MB / 0.5611 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2078/0.5808, allocations: 154.4 MB / 0.7119 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002325/0.5831, allocations: 1.472 MB / 0.7133 GB, free: 7.918 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.5832, allocations: 0 / 0.7133 GB, free: 7.918 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.5835, allocations: 51.72 kB / 0.7134 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.5872, allocations: 1.095 MB / 0.7145 GB, free: 6.777 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.973e-06/0.5872, allocations: 0 / 0.7145 GB, free: 6.777 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.5874, allocations: 71.62 kB / 0.7145 GB, free: 6.707 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.627e-05/0.5875, allocations: 4 kB / 0.7145 GB, free: 6.703 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.469e-05/0.5875, allocations: 23.86 kB / 0.7145 GB, free: 6.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.5876, allocations: 35.89 kB / 0.7146 GB, free: 6.645 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.5876, allocations: 4 kB / 0.7146 GB, free: 6.641 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003917/0.5916, allocations: 1.947 MB / 0.7165 GB, free: 4.691 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.344e-05/0.5916, allocations: 19.86 kB / 0.7165 GB, free: 4.672 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.5917, allocations: 11.94 kB / 0.7165 GB, free: 4.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.5938, allocations: 0.9274 MB / 0.7174 GB, free: 3.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5938, allocations: 7.938 kB / 0.7174 GB, free: 3.723 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.654e-06/0.5938, allocations: 0 / 0.7174 GB, free: 3.723 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.351e-06/0.5938, allocations: 4 kB / 0.7174 GB, free: 3.719 MB / 0.545 GB 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.0009637/0.5948, allocations: 440.5 kB / 0.7179 GB, free: 3.258 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.5948, allocations: 8.031 kB / 0.7179 GB, free: 3.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.5949, allocations: 8.891 kB / 0.7179 GB, free: 3.242 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.595, allocations: 117.7 kB / 0.718 GB, free: 3.102 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.595, allocations: 3.938 kB / 0.718 GB, free: 3.098 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.595, allocations: 4 kB / 0.718 GB, free: 3.094 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.5952, allocations: 89.64 kB / 0.7181 GB, free: 3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.5952, allocations: 0 / 0.7181 GB, free: 3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.5952, allocations: 4 kB / 0.7181 GB, free: 2.996 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.292e-05/0.5952, allocations: 8 kB / 0.7181 GB, free: 2.988 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.5954, allocations: 67.95 kB / 0.7182 GB, free: 2.922 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.5959, allocations: 287.7 kB / 0.7184 GB, free: 2.598 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.387e-05/0.596, allocations: 38.56 kB / 0.7185 GB, free: 2.551 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.355e-05/0.596, allocations: 12.98 kB / 0.7185 GB, free: 2.535 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.5962, allocations: 27.98 kB / 0.7185 GB, free: 2.508 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.5962, allocations: 42.5 kB / 0.7185 GB, free: 2.457 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.5962, allocations: 0 / 0.7185 GB, free: 2.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0002189/0.5964, allocations: 73.55 kB / 0.7186 GB, free: 2.379 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.5965, allocations: 55.41 kB / 0.7187 GB, free: 2.312 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.5966, allocations: 109.8 kB / 0.7188 GB, free: 2.195 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.5966, allocations: 25.81 kB / 0.7188 GB, free: 2.164 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.5967, allocations: 95.98 kB / 0.7189 GB, free: 2.066 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.5967, allocations: 23.83 kB / 0.7189 GB, free: 2.043 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.5967, allocations: 25.67 kB / 0.7189 GB, free: 2.012 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5969, allocations: 314.8 kB / 0.7192 GB, free: 1.695 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.14e-05/0.5969, allocations: 11.98 kB / 0.7192 GB, free: 1.684 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.283e-05/0.597, allocations: 35.42 kB / 0.7193 GB, free: 1.637 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.195e-05/0.5971, allocations: 63.36 kB / 0.7193 GB, free: 1.562 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5971, allocations: 0.5 kB / 0.7193 GB, free: 1.562 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001532/0.5972, allocations: 81.56 kB / 0.7194 GB, free: 1.477 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.5972, allocations: 4 kB / 0.7194 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5973, allocations: 8 kB / 0.7194 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.5973, allocations: 0 / 0.7194 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.745e-05/0.5974, allocations: 15.98 kB / 0.7194 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.5974, allocations: 4.25 kB / 0.7195 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.132e-05/0.5974, allocations: 11.98 kB / 0.7195 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.5974, allocations: 4 kB / 0.7195 GB, free: 1.43 MB / 0.545 GB 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 8.46e-05/0.5975, allocations: 109.8 kB / 0.7196 GB, free: 1.312 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.5975, allocations: 15.88 kB / 0.7196 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.5977, allocations: 77.36 kB / 0.7197 GB, free: 1.215 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.5977, allocations: 7.984 kB / 0.7197 GB, free: 1.207 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5977, allocations: 0 / 0.7197 GB, free: 1.207 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.5977, allocations: 0 / 0.7197 GB, free: 1.207 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.5979, allocations: 140.7 kB / 0.7198 GB, free: 1.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5979, allocations: 0 / 0.7198 GB, free: 1.027 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.598, allocations: 15.92 kB / 0.7198 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.598, allocations: 0 / 0.7198 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.598, allocations: 0 / 0.7198 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.598, allocations: 0 / 0.7198 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.598, allocations: 3.938 kB / 0.7198 GB, free: 1.008 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.5981, allocations: 167.4 kB / 0.72 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.5982, allocations: 3.938 kB / 0.72 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.5982, allocations: 0 / 0.72 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.598e-05/0.5982, allocations: 4 kB / 0.72 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.5983, allocations: 3.984 kB / 0.72 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.5983, allocations: 4 kB / 0.72 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.5983, allocations: 91.39 kB / 0.7201 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5983, allocations: 3.938 kB / 0.7201 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005675/0.5989, allocations: 151.5 kB / 0.7202 GB, free: 0.5703 MB / 0.545 GB 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.0008199/0.5997, allocations: 326.5 kB / 0.7205 GB, free: 248 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.5998, allocations: 35.92 kB / 0.7206 GB, free: 212 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5998, allocations: 0 / 0.7206 GB, free: 212 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.245e-05/0.5999, allocations: 15.98 kB / 0.7206 GB, free: 196 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.6002, allocations: 16.17 kB / 0.7206 GB, free: 180 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.6006, allocations: 172.6 kB / 0.7208 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.601, allocations: 0.6807 MB / 0.7214 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.88e-05/0.6011, allocations: 19.97 kB / 0.7215 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.6011, allocations: 15.44 kB / 0.7215 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.6011, allocations: 0 / 0.7215 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of Templates: time 0.008565/0.6097, allocations: 3.705 MB / 0.7251 GB, free: 11.54 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.1067209020257]