Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.00187/0.00187, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00241/0.00241, allocations: 214.8 kB / 24.48 MB, free: 3.93 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.518/1.518, allocations: 230.5 MB / 258.1 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 59.91 kB / 379 MB, free: 2.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2518, allocations: 53.42 MB / 432.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07388/0.3257, allocations: 58.98 MB / 491.4 MB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007524/0.3332, allocations: 4.963 MB / 496.3 MB, free: 6.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000543/0.3338, allocations: 11.94 kB / 496.4 MB, free: 6.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.3349, allocations: 334 kB / 496.7 MB, free: 6.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.3363, allocations: 0.5166 MB / 497.2 MB, free: 5.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.019/0.3553, allocations: 7.467 MB / 0.4928 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002114/0.3574, allocations: 1.559 MB / 0.4944 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003132/0.3577, allocations: 145.4 kB / 0.4945 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.3588, allocations: 0.6424 MB / 0.4951 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009018/0.3597, allocations: 0.5799 MB / 0.4957 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.3598, allocations: 84 kB / 0.4958 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01823/0.3781, allocations: 9.536 MB / 0.5051 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005038/0.3786, allocations: 327.2 kB / 0.5054 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005741/0.3791, allocations: 390.7 kB / 0.5058 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01347/0.3926, allocations: 5.877 MB / 0.5115 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3926, allocations: 0 / 0.5115 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3926, allocations: 0 / 0.5115 GB, free: 10.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.3926, allocations: 0 / 0.5115 GB, free: 10.88 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003929/0.3966, allocations: 1.533 MB / 0.513 GB, free: 9.305 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3966, allocations: 15.98 kB / 0.513 GB, free: 9.289 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004506/0.3971, allocations: 83.56 kB / 0.5131 GB, free: 9.207 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007874/0.3978, allocations: 387.1 kB / 0.5135 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.851e-05/0.3979, allocations: 45.31 kB / 0.5135 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.398, allocations: 63.95 kB / 0.5136 GB, free: 8.699 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.4001, allocations: 1.224 MB / 0.5148 GB, free: 7.367 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.4001, allocations: 0 / 0.5148 GB, free: 7.367 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-05/0.4002, allocations: 28 kB / 0.5148 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.4002, allocations: 19.94 kB / 0.5148 GB, free: 7.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.4022, allocations: 1.02 MB / 0.5158 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01375/0.4159, allocations: 4.042 MB / 0.5198 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.4177, allocations: 0.7141 MB / 0.5205 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005912/0.4183, allocations: 394 kB / 0.5208 GB, free: 1.113 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01085/0.4292, allocations: 2.604 MB / 0.5234 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.452e-05/0.4292, allocations: 47.59 kB / 0.5234 GB, free: 14.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.504e-06/0.4292, allocations: 0 / 0.5234 GB, free: 14.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009837/0.4391, allocations: 3.163 MB / 0.5265 GB, free: 11.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.4391, allocations: 60.41 kB / 0.5266 GB, free: 11.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.4395, allocations: 301.8 kB / 0.5269 GB, free: 10.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.946e-05/0.4396, allocations: 41.7 kB / 0.5269 GB, free: 10.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.4398, allocations: 245.1 kB / 0.5271 GB, free: 10.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.44, allocations: 325.2 kB / 0.5274 GB, free: 10.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.4403, allocations: 166.6 kB / 0.5276 GB, free: 10.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.4405, allocations: 358.8 kB / 0.5279 GB, free: 9.738 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006192/0.4411, allocations: 373.8 kB / 0.5283 GB, free: 9.371 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009981/0.4421, allocations: 496.2 kB / 0.5288 GB, free: 8.855 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/0.444, allocations: 0.8982 MB / 0.5296 GB, free: 7.926 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.444, allocations: 0 / 0.5296 GB, free: 7.926 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002715/0.4467, allocations: 1.113 MB / 0.5307 GB, free: 6.793 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.4467, allocations: 7.938 kB / 0.5307 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4467, allocations: 4 kB / 0.5307 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000852/0.4476, allocations: 171.5 kB / 0.5309 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007674/0.4483, allocations: 191.8 kB / 0.5311 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003227/0.4516, allocations: 3.86 MB / 0.5349 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004617/0.452, allocations: 23.94 kB / 0.5349 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.4521, allocations: 43.98 kB / 0.5349 GB, free: 2.238 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004186/0.4526, allocations: 221.6 kB / 0.5351 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/0.453, allocations: 59.72 kB / 0.5352 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002504/0.4555, allocations: 1.276 MB / 0.5364 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.4555, allocations: 8 kB / 0.5364 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.4555, allocations: 11.88 kB / 0.5365 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2167/0.6722, allocations: 1.311 MB / 0.5377 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/0.6754, allocations: 1.729 MB / 0.5394 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.6754, allocations: 0 / 0.5394 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000685/0.676, allocations: 164 kB / 0.5396 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001664/0.6777, allocations: 299.5 kB / 0.5399 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.761e-05/0.6778, allocations: 32.36 kB / 0.5399 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005293/0.6783, allocations: 1.286 MB / 0.5412 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6783, allocations: 1.188 kB / 0.5412 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.6808, allocations: 1.418 MB / 0.5425 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.6809, allocations: 49 kB / 0.5426 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.12e-05/0.681, allocations: 19.97 kB / 0.5426 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000502/0.6815, allocations: 28.45 kB / 0.5426 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.6816, allocations: 59.2 kB / 0.5427 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.214e-05/0.6817, allocations: 44.31 kB / 0.5427 GB, free: 104.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002501/0.682, allocations: 239.9 kB / 0.543 GB, free: 104.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.682, allocations: 4.688 kB / 0.543 GB, free: 104.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003586/0.6855, allocations: 1.424 MB / 0.5444 GB, free: 104 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005328/0.6909, allocations: 1.732 MB / 0.546 GB, free: 103.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002123/0.693, allocations: 1.107 MB / 0.5471 GB, free: 103.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.693, allocations: 2.156 kB / 0.5471 GB, free: 103.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008088/0.6938, allocations: 483.5 kB / 0.5476 GB, free: 103.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.6954, allocations: 336.4 kB / 0.5479 GB, free: 103 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.6978, allocations: 1.723 MB / 0.5496 GB, free: 102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.6981, allocations: 316.5 kB / 0.5499 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.6983, allocations: 86.61 kB / 0.55 GB, free: 101.6 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.6983, allocations: 0 / 0.55 GB, free: 101.6 MB / 446.1 MB Notification: Performance of Templates: time 0.04315/0.7415, allocations: 40.86 MB / 0.5899 GB, free: 61.46 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 20.625387351959944]