Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.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.001753/0.001753, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 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.001458/0.001458, allocations: 186.8 kB / 22.97 MB, free: 5.59 MB / 14.72 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 1.501/1.501, allocations: 225.6 MB / 251.6 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2581/0.2581, allocations: 44.91 MB / 351.6 MB, free: 12.21 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 64.08 kB / 495.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.435, allocations: 64.26 MB / 0.5464 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2246/0.6596, allocations: 151.5 MB / 0.6943 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003655/0.6632, allocations: 1.339 MB / 0.6956 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.199e-05/0.6633, allocations: 0 / 0.6956 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004848/0.6638, allocations: 39.8 kB / 0.6956 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005798/0.6696, allocations: 1.027 MB / 0.6966 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 8.676e-06/0.6696, allocations: 0 / 0.6966 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.6698, allocations: 51.72 kB / 0.6967 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.6698, allocations: 10.66 kB / 0.6967 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.281e-05/0.6699, allocations: 19.92 kB / 0.6967 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.67, allocations: 23.91 kB / 0.6967 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.67, allocations: 0 / 0.6967 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006316/0.6763, allocations: 1.844 MB / 0.6985 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.983e-05/0.6764, allocations: 11.92 kB / 0.6985 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.6765, allocations: 11.94 kB / 0.6985 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.6794, allocations: 0.8923 MB / 0.6994 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6794, allocations: 0 / 0.6994 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6794, allocations: 0 / 0.6994 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.6794, allocations: 0 / 0.6994 GB, free: 2.543 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001368/0.6808, allocations: 0.49 MB / 0.6999 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.6808, allocations: 8.031 kB / 0.6999 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.6809, allocations: 4.938 kB / 0.6999 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.6811, allocations: 175.5 kB / 0.7001 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.6811, allocations: 4 kB / 0.7001 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.6811, allocations: 3.984 kB / 0.7001 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.6814, allocations: 77.61 kB / 0.7002 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.6814, allocations: 0 / 0.7002 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.6814, allocations: 0 / 0.7002 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.6814, allocations: 4 kB / 0.7002 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.6816, allocations: 55.95 kB / 0.7002 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.6823, allocations: 304.7 kB / 0.7005 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.6824, allocations: 30.52 kB / 0.7005 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.213e-05/0.6825, allocations: 16.94 kB / 0.7005 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004526/0.6829, allocations: 259.3 kB / 0.7008 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/0.683, allocations: 34.5 kB / 0.7008 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 2.244e-06/0.683, allocations: 0 / 0.7008 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.000332/0.6833, allocations: 57.64 kB / 0.7009 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.6834, allocations: 63.33 kB / 0.7009 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.6835, allocations: 97.86 kB / 0.701 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.6835, allocations: 25.7 kB / 0.7011 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/0.6836, allocations: 104 kB / 0.7012 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.6836, allocations: 8.016 kB / 0.7012 GB, free: 500 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/0.6837, allocations: 25.66 kB / 0.7012 GB, free: 468 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002118/0.6839, allocations: 318.8 kB / 0.7015 GB, free: 140 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.256e-05/0.684, allocations: 4 kB / 0.7015 GB, free: 136 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-05/0.6841, allocations: 43.42 kB / 0.7015 GB, free: 80 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.6842, allocations: 47.38 kB / 0.7016 GB, free: 20 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6842, allocations: 0 / 0.7016 GB, free: 20 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000274/0.6845, allocations: 81.69 kB / 0.7017 GB, free: 15.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.6845, allocations: 4 kB / 0.7017 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6845, allocations: 0 / 0.7017 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.6845, allocations: 4 kB / 0.7017 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.6846, allocations: 15.92 kB / 0.7017 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/0.6847, allocations: 4 kB / 0.7017 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/0.6847, allocations: 7.891 kB / 0.7017 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.6847, allocations: 4 kB / 0.7017 GB, free: 15.89 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 (7): * Single equations (assignments): 7 * 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.0001303/0.6849, allocations: 114.7 kB / 0.7018 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.6849, allocations: 8 kB / 0.7018 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.6851, allocations: 73.25 kB / 0.7019 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.6851, allocations: 0 / 0.7019 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.6852, allocations: 0 / 0.7019 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.6852, allocations: 0 / 0.7019 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.6855, allocations: 166.1 kB / 0.702 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.6855, allocations: 0 / 0.702 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.371e-05/0.6855, allocations: 19.92 kB / 0.7021 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.6855, allocations: 0 / 0.7021 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.6855, allocations: 0 / 0.7021 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.6855, allocations: 0 / 0.7021 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.6855, allocations: 4 kB / 0.7021 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.6858, allocations: 143.5 kB / 0.7022 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.439e-05/0.6859, allocations: 89 kB / 0.7023 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.6859, allocations: 3.984 kB / 0.7023 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.111e-05/0.686, allocations: 4 kB / 0.7023 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.686, allocations: 4 kB / 0.7023 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.686, allocations: 3.938 kB / 0.7023 GB, free: 15.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.25e-05/0.6861, allocations: 79.28 kB / 0.7024 GB, free: 15.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6861, allocations: 0 / 0.7024 GB, free: 15.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009109/0.687, allocations: 147.5 kB / 0.7025 GB, free: 14.95 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 (4): * Single equations (assignments): 4 * 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.001316/0.6883, allocations: 329.8 kB / 0.7028 GB, free: 14.63 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001878/0.6885, allocations: 27.92 kB / 0.7029 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6885, allocations: 0 / 0.7029 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.374e-05/0.6885, allocations: 8 kB / 0.7029 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.689, allocations: 10.97 kB / 0.7029 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005249/0.6895, allocations: 143.7 kB / 0.703 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.69, allocations: 0.6848 MB / 0.7037 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001099/0.6901, allocations: 19.86 kB / 0.7037 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.092e-05/0.6902, allocations: 15.44 kB / 0.7037 GB, free: 13.68 MB / 0.545 GB Notification: Performance of SimCode: time 6.32e-07/0.6902, allocations: 0 / 0.7037 GB, free: 13.68 MB / 0.545 GB Notification: Performance of Templates: time 0.01261/0.7028, allocations: 3.308 MB / 0.707 GB, free: 10.37 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.8702742625027895]