Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001912/0.001912, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002369/0.002369, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 230.2 MB / 257.8 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2526/0.2526, allocations: 46.89 MB / 361.1 MB, free: 4.652 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002386/0.002386, allocations: 76.16 kB / 0.4967 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4182, allocations: 65.99 MB / 0.5612 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.218/0.6362, allocations: 154.4 MB / 0.712 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003224/0.6394, allocations: 1.476 MB / 0.7134 GB, free: 8.586 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.656e-05/0.6395, allocations: 0 / 0.7134 GB, free: 8.586 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.6399, allocations: 47.73 kB / 0.7134 GB, free: 8.539 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005121/0.6451, allocations: 1.08 MB / 0.7145 GB, free: 7.461 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 8.887e-06/0.6451, allocations: 0 / 0.7145 GB, free: 7.461 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.6453, allocations: 67.64 kB / 0.7146 GB, free: 7.395 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.6454, allocations: 0 / 0.7146 GB, free: 7.395 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.698e-05/0.6455, allocations: 27.91 kB / 0.7146 GB, free: 7.367 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.6456, allocations: 39.84 kB / 0.7146 GB, free: 7.328 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.6456, allocations: 0 / 0.7146 GB, free: 7.328 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006277/0.6519, allocations: 1.922 MB / 0.7165 GB, free: 5.402 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.312e-05/0.6519, allocations: 11.92 kB / 0.7165 GB, free: 5.391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/0.652, allocations: 19.94 kB / 0.7165 GB, free: 5.371 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.6546, allocations: 0.9273 MB / 0.7174 GB, free: 4.441 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6546, allocations: 0 / 0.7174 GB, free: 4.441 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6546, allocations: 0 / 0.7174 GB, free: 4.441 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.6547, allocations: 0 / 0.7174 GB, free: 4.441 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.00127/0.6559, allocations: 0.5055 MB / 0.7179 GB, free: 3.887 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.656, allocations: 12.03 kB / 0.7179 GB, free: 3.875 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.656, allocations: 12.83 kB / 0.718 GB, free: 3.863 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.6563, allocations: 171.5 kB / 0.7181 GB, free: 3.656 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.6564, allocations: 4 kB / 0.7181 GB, free: 3.652 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.6564, allocations: 4 kB / 0.7181 GB, free: 3.648 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.6567, allocations: 93.52 kB / 0.7182 GB, free: 3.551 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.6567, allocations: 0 / 0.7182 GB, free: 3.551 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.6567, allocations: 4 kB / 0.7182 GB, free: 3.547 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/0.6567, allocations: 8 kB / 0.7182 GB, free: 3.539 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.6569, allocations: 67.95 kB / 0.7183 GB, free: 3.473 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008079/0.6577, allocations: 304.7 kB / 0.7186 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.6578, allocations: 42.5 kB / 0.7186 GB, free: 3.074 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.6579, allocations: 16.97 kB / 0.7186 GB, free: 3.055 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000395/0.6583, allocations: 259.3 kB / 0.7189 GB, free: 2.746 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.51e-05/0.6584, allocations: 38.5 kB / 0.7189 GB, free: 2.699 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.964e-06/0.6584, allocations: 0 / 0.7189 GB, free: 2.699 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0003561/0.6587, allocations: 69.67 kB / 0.719 GB, free: 2.625 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.6588, allocations: 55.34 kB / 0.719 GB, free: 2.559 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.6589, allocations: 105.8 kB / 0.7191 GB, free: 2.445 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.6589, allocations: 25.7 kB / 0.7192 GB, free: 2.414 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.295e-05/0.659, allocations: 99.98 kB / 0.7193 GB, free: 2.312 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.6591, allocations: 11.84 kB / 0.7193 GB, free: 2.301 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.446e-05/0.6591, allocations: 33.66 kB / 0.7193 GB, free: 2.262 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002237/0.6593, allocations: 315 kB / 0.7196 GB, free: 1.945 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.309e-05/0.6594, allocations: 15.92 kB / 0.7196 GB, free: 1.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.6595, allocations: 39.42 kB / 0.7197 GB, free: 1.879 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.6597, allocations: 55.38 kB / 0.7197 GB, free: 1.812 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6597, allocations: 0 / 0.7197 GB, free: 1.812 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000266/0.6599, allocations: 86.03 kB / 0.7198 GB, free: 1.723 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.66, allocations: 8 kB / 0.7198 GB, free: 1.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.66, allocations: 0 / 0.7198 GB, free: 1.715 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.66, allocations: 0 / 0.7198 GB, free: 1.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.6601, allocations: 27.98 kB / 0.7198 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.6601, allocations: 0 / 0.7198 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.178e-05/0.6602, allocations: 8.094 kB / 0.7198 GB, free: 1.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.6602, allocations: 4 kB / 0.7198 GB, free: 1.676 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 0.0001353/0.6604, allocations: 113.8 kB / 0.72 GB, free: 1.555 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.6604, allocations: 7.891 kB / 0.72 GB, free: 1.547 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.6607, allocations: 85.09 kB / 0.72 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.6607, allocations: 0 / 0.72 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.6607, allocations: 4 kB / 0.72 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.6608, allocations: 7.984 kB / 0.7201 GB, free: 1.441 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.6611, allocations: 161.6 kB / 0.7202 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6611, allocations: 0 / 0.7202 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.907e-05/0.6611, allocations: 11.94 kB / 0.7202 GB, free: 1.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.6611, allocations: 0 / 0.7202 GB, free: 1.223 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.6611, allocations: 3.984 kB / 0.7202 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.6611, allocations: 0 / 0.7202 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.6611, allocations: 4 kB / 0.7202 GB, free: 1.215 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.6614, allocations: 159.5 kB / 0.7204 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.6615, allocations: 81.05 kB / 0.7205 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.6615, allocations: 4 kB / 0.7205 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.299e-05/0.6616, allocations: 0 / 0.7205 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.6616, allocations: 7.922 kB / 0.7205 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.6616, allocations: 4 kB / 0.7205 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.732e-05/0.6617, allocations: 87.41 kB / 0.7206 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6617, allocations: 0 / 0.7206 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009565/0.6627, allocations: 151.5 kB / 0.7207 GB, free: 0.6953 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.001385/0.6641, allocations: 341.1 kB / 0.721 GB, free: 364 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.6643, allocations: 31.92 kB / 0.7211 GB, free: 332 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.6643, allocations: 4 kB / 0.7211 GB, free: 328 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.61e-05/0.6643, allocations: 20.17 kB / 0.7211 GB, free: 308 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.6648, allocations: 11.03 kB / 0.7211 GB, free: 300 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006433/0.6655, allocations: 180 kB / 0.7213 GB, free: 92 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.666, allocations: 0.6807 MB / 0.7219 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.6661, allocations: 24.11 kB / 0.7219 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.6661, allocations: 15.44 kB / 0.722 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.6661, allocations: 0 / 0.722 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of Templates: time 0.01407/0.6802, allocations: 3.698 MB / 0.7256 GB, free: 11.65 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.977190962061286]