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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001558/0.001558, allocations: 105.8 kB / 18.3 MB, free: 4.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001801/0.001801, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 63.77 kB / 307.6 MB, free: 0.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1063, allocations: 50.54 MB / 358.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2177/0.324, allocations: 50.64 MB / 408.8 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007459/0.3316, allocations: 5.204 MB / 414 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003204/0.3319, allocations: 8 kB / 414 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008471/0.3328, allocations: 241.5 kB / 414.3 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008204/0.3336, allocations: 366.7 kB / 414.6 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02105/0.3547, allocations: 7.116 MB / 421.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001729/0.3565, allocations: 1.096 MB / 422.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.3568, allocations: 161.8 kB / 423 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007404/0.3642, allocations: 3.59 MB / 426.6 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006971/0.3649, allocations: 394.7 kB / 427 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.3651, allocations: 60 kB / 427 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01987/0.385, allocations: 9.783 MB / 436.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004242/0.3854, allocations: 219.5 kB / 437 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005095/0.3859, allocations: 314.8 kB / 437.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01477/0.4007, allocations: 5.513 MB / 442.9 MB, free: 6.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4008, allocations: 0 / 442.9 MB, free: 6.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4008, allocations: 4 kB / 442.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.4008, allocations: 0 / 442.9 MB, free: 6.676 MB / 350.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.003682/0.4045, allocations: 1.361 MB / 444.2 MB, free: 5.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4046, allocations: 8.031 kB / 444.2 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003988/0.405, allocations: 63.42 kB / 444.3 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/0.4055, allocations: 365.9 kB / 444.6 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.4056, allocations: 36.94 kB / 444.7 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.81e-05/0.4056, allocations: 44 kB / 444.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.407, allocations: 0.5843 MB / 445.3 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.407, allocations: 0 / 445.3 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.905e-05/0.4071, allocations: 23.92 kB / 445.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.4071, allocations: 12 kB / 445.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.4085, allocations: 0.7456 MB / 446.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0178/0.4263, allocations: 11.96 MB / 458 MB, free: 5.316 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.4277, allocations: 0.5268 MB / 458.6 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003938/0.4281, allocations: 257 kB / 458.8 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01582/0.444, allocations: 11.88 MB / 470.7 MB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.4441, allocations: 43 kB / 470.7 MB, free: 6.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 4.388e-06/0.4441, allocations: 3.984 kB / 470.8 MB, free: 6.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005947/0.45, allocations: 2.117 MB / 472.9 MB, free: 4.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.4501, allocations: 59.97 kB / 472.9 MB, free: 4.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.4505, allocations: 318.9 kB / 473.2 MB, free: 3.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.566e-05/0.4506, allocations: 41.64 kB / 473.3 MB, free: 3.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.4508, allocations: 200.3 kB / 473.5 MB, free: 3.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.4509, allocations: 193.3 kB / 473.7 MB, free: 3.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.4511, allocations: 114.1 kB / 473.8 MB, free: 3.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4513, allocations: 350.8 kB / 474.1 MB, free: 2.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.4517, allocations: 241 kB / 474.4 MB, free: 2.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/0.4524, allocations: 339.4 kB / 474.7 MB, free: 2.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.4536, allocations: 0.5917 MB / 475.3 MB, free: 1.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.4536, allocations: 4 kB / 475.3 MB, free: 1.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001818/0.4554, allocations: 0.7518 MB / 476 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.4555, allocations: 6.969 kB / 476 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4555, allocations: 4 kB / 476 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005151/0.456, allocations: 110.6 kB / 476.2 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005006/0.4565, allocations: 131.8 kB / 476.3 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/0.4594, allocations: 3.468 MB / 479.7 MB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.4597, allocations: 15.94 kB / 479.8 MB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-05/0.4598, allocations: 35.98 kB / 479.8 MB, free: 12.71 MB / 398.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.000305/0.4601, allocations: 193.8 kB / 480 MB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/0.4605, allocations: 47.53 kB / 480 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.4621, allocations: 0.819 MB / 480.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.4621, allocations: 8 kB / 480.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4621, allocations: 3.984 kB / 480.9 MB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001183/0.4633, allocations: 0.7596 MB / 481.6 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/0.4656, allocations: 1.301 MB / 482.9 MB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4656, allocations: 0 / 482.9 MB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004515/0.466, allocations: 99.88 kB / 483 MB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009273/0.467, allocations: 148.7 kB / 483.2 MB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.467, allocations: 23.92 kB / 483.2 MB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004781/0.4675, allocations: 0.6406 MB / 483.8 MB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.4675, allocations: 4.031 kB / 483.8 MB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.4693, allocations: 0.9121 MB / 484.7 MB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.4694, allocations: 116.7 kB / 484.9 MB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.4695, allocations: 12 kB / 484.9 MB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.4699, allocations: 15.98 kB / 484.9 MB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.953e-05/0.47, allocations: 36.33 kB / 484.9 MB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.796e-05/0.4701, allocations: 39.97 kB / 485 MB, free: 7.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003121/0.4704, allocations: 249.9 kB / 485.2 MB, free: 7.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4704, allocations: 0 / 485.2 MB, free: 7.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003916/0.4743, allocations: 1.327 MB / 486.5 MB, free: 5.719 MB / 398.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.006114/0.4805, allocations: 1.692 MB / 488.2 MB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001949/0.4824, allocations: 0.847 MB / 489.1 MB, free: 3.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4825, allocations: 4.188 kB / 489.1 MB, free: 3.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005924/0.4831, allocations: 295.1 kB / 489.4 MB, free: 2.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.4846, allocations: 280.5 kB / 489.6 MB, free: 2.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.4868, allocations: 1.143 MB / 490.8 MB, free: 1.402 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.4873, allocations: 0.8326 MB / 491.6 MB, free: 0.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.4875, allocations: 67.41 kB / 491.7 MB, free: 488 kB / 398.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4875, allocations: 0 / 491.7 MB, free: 488 kB / 398.1 MB Notification: Performance of Templates: time 0.05387/0.5414, allocations: 34.11 MB / 0.5135 GB, free: 14.36 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (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) 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) Reference file matches