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.001567/0.001567, allocations: 76.14 kB / 19.93 MB, free: 1.785 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.001836/0.001836, allocations: 166.4 kB / 23.21 MB, free: 4.906 MB / 14.72 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 1.691/1.691, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] 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.221/0.221, allocations: 32.37 MB / 269.6 MB, free: 4.672 MB / 254.1 MB " [Timeout remaining time 179] 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 2.054e-06/2.054e-06, allocations: 0 / 407.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.871e-05, allocations: 4.391 kB / 407.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4375/0.4375, allocations: 131 MB / 0.5257 GB, free: 9.113 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.4392, allocations: 1.078 MB / 0.5267 GB, free: 8.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.4393, allocations: 2.5 kB / 0.5268 GB, free: 8.293 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.4396, allocations: 31.86 kB / 0.5268 GB, free: 8.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002526/0.4421, allocations: 0.904 MB / 0.5277 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.899e-06/0.4421, allocations: 0 / 0.5277 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.4422, allocations: 53.25 kB / 0.5277 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.4423, allocations: 3.984 kB / 0.5277 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.416e-05/0.4423, allocations: 21.08 kB / 0.5277 GB, free: 7.609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.631e-05/0.4424, allocations: 26.72 kB / 0.5278 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.4424, allocations: 0 / 0.5278 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.4447, allocations: 1.386 MB / 0.5291 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.4447, allocations: 10.83 kB / 0.5291 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.4448, allocations: 7.406 kB / 0.5291 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.4462, allocations: 0.8561 MB / 0.53 GB, free: 6.414 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4462, allocations: 4 kB / 0.53 GB, free: 6.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4462, allocations: 0 / 0.53 GB, free: 6.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.4462, allocations: 0 / 0.53 GB, free: 6.41 MB / 414.1 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.000766/0.4469, allocations: 391.7 kB / 0.5303 GB, free: 6.047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.447, allocations: 11.19 kB / 0.5304 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.447, allocations: 4 kB / 0.5304 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.4471, allocations: 110 kB / 0.5305 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.4472, allocations: 8.359 kB / 0.5305 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.4472, allocations: 2.844 kB / 0.5305 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.4473, allocations: 69.67 kB / 0.5305 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4473, allocations: 6.562 kB / 0.5306 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.4473, allocations: 4 kB / 0.5306 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.4474, allocations: 8.891 kB / 0.5306 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.864e-05/0.4475, allocations: 45.64 kB / 0.5306 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.4479, allocations: 241.8 kB / 0.5308 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.448, allocations: 41.3 kB / 0.5309 GB, free: 5.551 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.4481, allocations: 7.484 kB / 0.5309 GB, free: 5.543 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.4482, allocations: 17.67 kB / 0.5309 GB, free: 5.535 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.4482, allocations: 33.34 kB / 0.5309 GB, free: 5.496 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.4482, allocations: 0 / 0.5309 GB, free: 5.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002281/0.4485, allocations: 51.03 kB / 0.531 GB, free: 5.453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.4485, allocations: 51.41 kB / 0.531 GB, free: 5.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.4486, allocations: 107 kB / 0.5311 GB, free: 5.281 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.4486, allocations: 27.67 kB / 0.5312 GB, free: 5.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.4487, allocations: 99.27 kB / 0.5313 GB, free: 5.152 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.4487, allocations: 15.89 kB / 0.5313 GB, free: 5.137 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.4488, allocations: 18.91 kB / 0.5313 GB, free: 5.117 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.4489, allocations: 317.7 kB / 0.5316 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.4489, allocations: 8.984 kB / 0.5316 GB, free: 4.797 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.153e-05/0.449, allocations: 28.94 kB / 0.5316 GB, free: 4.762 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.964e-05/0.4491, allocations: 52.77 kB / 0.5317 GB, free: 4.711 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4491, allocations: 0.5 kB / 0.5317 GB, free: 4.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001095/0.4492, allocations: 69.5 kB / 0.5317 GB, free: 4.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4492, allocations: 5.281 kB / 0.5317 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4492, allocations: 0 / 0.5317 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-05/0.4492, allocations: 6.25 kB / 0.5318 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.4493, allocations: 24.58 kB / 0.5318 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4493, allocations: 0 / 0.5318 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.195e-05/0.4494, allocations: 10.5 kB / 0.5318 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.4494, allocations: 2.719 kB / 0.5318 GB, free: 4.637 MB / 414.1 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 9.884e-05/0.4495, allocations: 114.8 kB / 0.5319 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.4495, allocations: 8.047 kB / 0.5319 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.4497, allocations: 64.61 kB / 0.532 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4497, allocations: 0 / 0.532 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4497, allocations: 2.844 kB / 0.532 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4497, allocations: 0 / 0.532 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.4498, allocations: 106 kB / 0.5321 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4498, allocations: 0 / 0.5321 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/0.4499, allocations: 9.094 kB / 0.5321 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4499, allocations: 4 kB / 0.5321 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.108e-06/0.4499, allocations: 3.375 kB / 0.5321 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4499, allocations: 2.125 kB / 0.5321 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4499, allocations: 0 / 0.5321 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.45, allocations: 144.8 kB / 0.5322 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.45, allocations: 6.484 kB / 0.5322 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.45, allocations: 0 / 0.5322 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.053e-05/0.4501, allocations: 0 / 0.5322 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.4501, allocations: 2.688 kB / 0.5322 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.4501, allocations: 3.938 kB / 0.5322 GB, free: 4.168 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.945e-05/0.4502, allocations: 84.12 kB / 0.5323 GB, free: 4.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4502, allocations: 4 kB / 0.5323 GB, free: 4.086 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004252/0.4506, allocations: 99.84 kB / 0.5324 GB, free: 4.051 MB / 414.1 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.0006399/0.4512, allocations: 260.1 kB / 0.5327 GB, free: 3.887 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.4513, allocations: 27.45 kB / 0.5327 GB, free: 3.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4513, allocations: 0 / 0.5327 GB, free: 3.875 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.431e-05/0.4514, allocations: 5.844 kB / 0.5327 GB, free: 3.875 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.4516, allocations: 7.719 kB / 0.5327 GB, free: 3.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.452, allocations: 135.6 kB / 0.5328 GB, free: 3.742 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.063e-05/0.452, allocations: 71.47 kB / 0.5329 GB, free: 3.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.646e-05/0.4521, allocations: 11 kB / 0.5329 GB, free: 3.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.4521, allocations: 19.58 kB / 0.5329 GB, free: 3.641 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4521, allocations: 0 / 0.5329 GB, free: 3.641 MB / 414.1 MB Notification: Performance of Templates: time 0.006419/0.4585, allocations: 2.673 MB / 0.5355 GB, free: 2.285 MB / 414.1 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.7194201946258545]