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.008016/0.008016, allocations: 108.7 kB / 21.97 MB, free: 5.184 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.00146/0.00146, allocations: 220.3 kB / 25.29 MB, free: 3.203 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.452/1.452, allocations: 230.5 MB / 258.9 MB, free: 8.016 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.2303/0.2303, allocations: 46.94 MB / 362.3 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 180] 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: 79.86 kB / 0.4982 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3505, allocations: 66.08 MB / 0.5627 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1908/0.5413, allocations: 154.4 MB / 0.7135 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00232/0.5436, allocations: 1.476 MB / 0.7149 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.54e-05/0.5437, allocations: 0 / 0.7149 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004965/0.5442, allocations: 55.72 kB / 0.715 GB, free: 7.727 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004166/0.5484, allocations: 1.088 MB / 0.7161 GB, free: 6.641 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 9.298e-06/0.5484, allocations: 0 / 0.7161 GB, free: 6.641 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.5486, allocations: 67.64 kB / 0.7161 GB, free: 6.574 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/0.5486, allocations: 4 kB / 0.7161 GB, free: 6.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.914e-05/0.5487, allocations: 23.91 kB / 0.7161 GB, free: 6.547 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.877e-05/0.5488, allocations: 31.84 kB / 0.7162 GB, free: 6.516 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.5488, allocations: 4 kB / 0.7162 GB, free: 6.512 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003815/0.5526, allocations: 1.953 MB / 0.7181 GB, free: 4.559 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.5527, allocations: 15.92 kB / 0.7181 GB, free: 4.543 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.5527, allocations: 15.94 kB / 0.7181 GB, free: 4.527 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.5544, allocations: 0.9273 MB / 0.719 GB, free: 3.598 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5544, allocations: 0 / 0.719 GB, free: 3.598 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5544, allocations: 4 kB / 0.719 GB, free: 3.594 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.5544, allocations: 3.938 kB / 0.719 GB, free: 3.59 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.0007889/0.5552, allocations: 440.5 kB / 0.7195 GB, free: 3.129 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.5552, allocations: 8.031 kB / 0.7195 GB, free: 3.121 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.5553, allocations: 16.89 kB / 0.7195 GB, free: 3.105 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.5554, allocations: 109.7 kB / 0.7196 GB, free: 2.973 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.5554, allocations: 4 kB / 0.7196 GB, free: 2.969 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.5554, allocations: 11.98 kB / 0.7196 GB, free: 2.957 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.5556, allocations: 85.59 kB / 0.7197 GB, free: 2.867 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.5556, allocations: 0 / 0.7197 GB, free: 2.867 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.5556, allocations: 0 / 0.7197 GB, free: 2.867 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/0.5557, allocations: 8 kB / 0.7197 GB, free: 2.859 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.5558, allocations: 71.94 kB / 0.7198 GB, free: 2.789 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.5563, allocations: 287.8 kB / 0.72 GB, free: 2.465 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.582e-05/0.5563, allocations: 42.5 kB / 0.7201 GB, free: 2.414 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.5564, allocations: 12.98 kB / 0.7201 GB, free: 2.398 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.5565, allocations: 35.91 kB / 0.7201 GB, free: 2.363 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.5565, allocations: 38.5 kB / 0.7202 GB, free: 2.316 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.5565, allocations: 0 / 0.7202 GB, free: 2.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0002032/0.5567, allocations: 65.69 kB / 0.7202 GB, free: 2.246 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.5568, allocations: 59.34 kB / 0.7203 GB, free: 2.176 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.995e-05/0.5569, allocations: 105.8 kB / 0.7204 GB, free: 2.062 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.5569, allocations: 29.7 kB / 0.7204 GB, free: 2.027 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.557, allocations: 92.05 kB / 0.7205 GB, free: 1.934 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.557, allocations: 19.94 kB / 0.7205 GB, free: 1.914 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.557, allocations: 25.61 kB / 0.7205 GB, free: 1.883 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5572, allocations: 322.8 kB / 0.7208 GB, free: 1.559 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.021e-05/0.5572, allocations: 15.98 kB / 0.7209 GB, free: 1.543 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.866e-05/0.5573, allocations: 35.42 kB / 0.7209 GB, free: 1.496 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.483e-05/0.5573, allocations: 59.36 kB / 0.7209 GB, free: 1.426 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.5573, allocations: 0 / 0.7209 GB, free: 1.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001385/0.5575, allocations: 86.05 kB / 0.721 GB, free: 1.336 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.5575, allocations: 4 kB / 0.721 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5575, allocations: 4 kB / 0.721 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.5575, allocations: 0 / 0.721 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.168e-05/0.5576, allocations: 20 kB / 0.7211 GB, free: 1.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.5576, allocations: 0 / 0.7211 GB, free: 1.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/0.5576, allocations: 4 kB / 0.7211 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.5577, allocations: 4 kB / 0.7211 GB, free: 1.301 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 9.795e-05/0.5578, allocations: 121.9 kB / 0.7212 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.5578, allocations: 11.89 kB / 0.7212 GB, free: 1.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.558, allocations: 73.52 kB / 0.7213 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.558, allocations: 0 / 0.7213 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.558, allocations: 0 / 0.7213 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.558, allocations: 0 / 0.7213 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.5582, allocations: 140.7 kB / 0.7214 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5582, allocations: 7.984 kB / 0.7214 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.5582, allocations: 11.94 kB / 0.7214 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5582, allocations: 3.938 kB / 0.7214 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-06/0.5582, allocations: 0 / 0.7214 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.5582, allocations: 0 / 0.7214 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5582, allocations: 3.984 kB / 0.7214 GB, free: 0.875 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.5584, allocations: 159.5 kB / 0.7216 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.5584, allocations: 7.922 kB / 0.7216 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.5584, allocations: 4 kB / 0.7216 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.859e-05/0.5584, allocations: 0 / 0.7216 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.5585, allocations: 11.92 kB / 0.7216 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.5585, allocations: 4 kB / 0.7216 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.286e-05/0.5585, allocations: 91.39 kB / 0.7217 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.5585, allocations: 0 / 0.7217 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005238/0.5591, allocations: 147.5 kB / 0.7218 GB, free: 452 kB / 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.0007557/0.5598, allocations: 330.5 kB / 0.7221 GB, free: 112 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.5599, allocations: 35.92 kB / 0.7222 GB, free: 76 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5599, allocations: 0 / 0.7222 GB, free: 76 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.273e-05/0.56, allocations: 15.98 kB / 0.7222 GB, free: 60 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.5603, allocations: 11.98 kB / 0.7222 GB, free: 48 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004673/0.5607, allocations: 198.5 kB / 0.7224 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.5611, allocations: 0.6846 MB / 0.7231 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.5611, allocations: 15.44 kB / 0.7231 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.5611, allocations: 0 / 0.7231 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.006352/0.5675, allocations: 3.188 MB / 0.7262 GB, free: 11.91 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 8.844974116887897]