Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001639/0.001639, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.00177/0.00177, allocations: 217 kB / 24.5 MB, free: 4.133 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.5/1.5, allocations: 230.5 MB / 258.1 MB, free: 8 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 63.91 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2586, allocations: 53.42 MB / 432.5 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.08055/0.3391, allocations: 51.16 MB / 483.6 MB, free: 3.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008145/0.3473, allocations: 5.242 MB / 488.9 MB, free: 14.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003953/0.3477, allocations: 8 kB / 488.9 MB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009625/0.3486, allocations: 262.5 kB / 489.1 MB, free: 13.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009481/0.3496, allocations: 374 kB / 489.5 MB, free: 13.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01939/0.369, allocations: 7.203 MB / 496.7 MB, free: 6.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001785/0.3708, allocations: 1.115 MB / 497.8 MB, free: 5.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003059/0.3711, allocations: 98.67 kB / 497.9 MB, free: 5.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007547/0.3786, allocations: 3.611 MB / 0.4898 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008577/0.3795, allocations: 426.5 kB / 0.4902 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.3797, allocations: 60 kB / 0.4902 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02117/0.4008, allocations: 10.18 MB / 0.5002 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005109/0.4013, allocations: 231.4 kB / 0.5004 GB, free: 6.602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006496/0.402, allocations: 310.9 kB / 0.5007 GB, free: 6.297 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0151/0.4171, allocations: 5.53 MB / 0.5061 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4171, allocations: 0 / 0.5061 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4171, allocations: 0 / 0.5061 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.711e-05/0.4171, allocations: 4 kB / 0.5061 GB, free: 0.75 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.004319/0.4214, allocations: 1.334 MB / 0.5074 GB, free: 15.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4215, allocations: 8.031 kB / 0.5074 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004208/0.4219, allocations: 63.66 kB / 0.5074 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006272/0.4225, allocations: 308.4 kB / 0.5077 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.4226, allocations: 33 kB / 0.5078 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.4227, allocations: 40 kB / 0.5078 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.4241, allocations: 0.5882 MB / 0.5084 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-05/0.4242, allocations: 4 kB / 0.5084 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.884e-05/0.4243, allocations: 20 kB / 0.5084 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.4243, allocations: 8 kB / 0.5084 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.4258, allocations: 0.7534 MB / 0.5092 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01386/0.4396, allocations: 4.172 MB / 0.5132 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.4411, allocations: 0.5116 MB / 0.5137 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004743/0.4415, allocations: 241.4 kB / 0.514 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/0.4527, allocations: 2.545 MB / 0.5164 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.593e-05/0.4528, allocations: 39 kB / 0.5165 GB, free: 5.867 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.585e-06/0.4528, allocations: 0 / 0.5165 GB, free: 5.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.006112/0.4589, allocations: 1.897 MB / 0.5183 GB, free: 3.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.459, allocations: 59.91 kB / 0.5184 GB, free: 3.859 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/0.4594, allocations: 328.2 kB / 0.5187 GB, free: 3.535 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.808e-05/0.4595, allocations: 33.7 kB / 0.5187 GB, free: 3.496 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.4596, allocations: 204.7 kB / 0.5189 GB, free: 3.293 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.4598, allocations: 206.2 kB / 0.5191 GB, free: 3.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.46, allocations: 114.3 kB / 0.5192 GB, free: 2.973 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.4602, allocations: 346.8 kB / 0.5196 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/0.4606, allocations: 241.2 kB / 0.5198 GB, free: 2.391 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000684/0.4613, allocations: 340.3 kB / 0.5201 GB, free: 2.023 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.4625, allocations: 0.5995 MB / 0.5207 GB, free: 1.391 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4626, allocations: 0 / 0.5207 GB, free: 1.391 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001904/0.4645, allocations: 0.752 MB / 0.5214 GB, free: 0.625 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.4645, allocations: 11.94 kB / 0.5215 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4645, allocations: 0 / 0.5215 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005139/0.465, allocations: 114.7 kB / 0.5216 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.4655, allocations: 119.8 kB / 0.5217 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/0.4685, allocations: 3.27 MB / 0.5249 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.4688, allocations: 12 kB / 0.5249 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.543e-05/0.4689, allocations: 35.98 kB / 0.5249 GB, free: 12.8 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0002962/0.4692, allocations: 193.8 kB / 0.5251 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/0.4695, allocations: 47.77 kB / 0.5251 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.4712, allocations: 0.8074 MB / 0.5259 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.4712, allocations: 7.938 kB / 0.5259 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.4712, allocations: 0 / 0.5259 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001222/0.4725, allocations: 0.7713 MB / 0.5267 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.4748, allocations: 1.273 MB / 0.5279 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4748, allocations: 0 / 0.5279 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.4752, allocations: 99.88 kB / 0.528 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009212/0.4762, allocations: 152.7 kB / 0.5282 GB, free: 9.281 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.4762, allocations: 16 kB / 0.5282 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005082/0.4767, allocations: 0.6484 MB / 0.5288 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.4767, allocations: 3.984 kB / 0.5288 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.4785, allocations: 0.9015 MB / 0.5297 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.4786, allocations: 39.8 kB / 0.5298 GB, free: 7.625 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.11e-05/0.4787, allocations: 12.09 kB / 0.5298 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.4791, allocations: 23.98 kB / 0.5298 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.4792, allocations: 40.31 kB / 0.5298 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.085e-05/0.4793, allocations: 31.91 kB / 0.5299 GB, free: 7.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003209/0.4796, allocations: 255 kB / 0.5301 GB, free: 7.273 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4796, allocations: 0 / 0.5301 GB, free: 7.273 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003769/0.4833, allocations: 1.337 MB / 0.5314 GB, free: 5.934 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00634/0.4897, allocations: 1.702 MB / 0.5331 GB, free: 4.219 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001912/0.4916, allocations: 0.7766 MB / 0.5338 GB, free: 3.414 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4916, allocations: 0 / 0.5338 GB, free: 3.414 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006542/0.4923, allocations: 283.1 kB / 0.5341 GB, free: 3.137 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.4938, allocations: 271.9 kB / 0.5344 GB, free: 2.871 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.4961, allocations: 1.152 MB / 0.5355 GB, free: 1.676 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/0.4967, allocations: 0.8325 MB / 0.5363 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.4969, allocations: 71.41 kB / 0.5364 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4969, allocations: 0 / 0.5364 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of Templates: time 0.2337/0.7306, allocations: 34.18 MB / 0.5697 GB, free: 80.68 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 15.859781807055697]