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) 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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001616/0.001616, allocations: 117.7 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002021/0.002021, allocations: 208.9 kB / 19.4 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.178/2.178, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2654, allocations: 50.55 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06337/0.3288, allocations: 65.71 MB / 475.7 MB, free: 15.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006372/0.3353, allocations: 5.457 MB / 481.1 MB, free: 10.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003309/0.3356, allocations: 12 kB / 481.1 MB, free: 10.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009808/0.3366, allocations: 350 kB / 481.5 MB, free: 9.824 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008641/0.3375, allocations: 0.5088 MB / 482 MB, free: 9.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01798/0.3555, allocations: 7.44 MB / 489.4 MB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002089/0.3576, allocations: 1.543 MB / 491 MB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003556/0.358, allocations: 216.8 kB / 491.2 MB, free: 104 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.3591, allocations: 0.6269 MB / 491.8 MB, free: 15.47 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007516/0.3598, allocations: 0.5645 MB / 492.4 MB, free: 14.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.3599, allocations: 84 kB / 492.4 MB, free: 14.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01895/0.3789, allocations: 10.22 MB / 0.4909 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006475/0.3796, allocations: 323.2 kB / 0.4912 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006853/0.3803, allocations: 438.4 kB / 0.4916 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01662/0.3969, allocations: 5.957 MB / 0.4974 GB, free: 13.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.397, allocations: 0 / 0.4974 GB, free: 13.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.397, allocations: 0 / 0.4974 GB, free: 13.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.393e-05/0.3971, allocations: 0 / 0.4974 GB, free: 13.87 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.004403/0.4015, allocations: 1.567 MB / 0.499 GB, free: 12.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.4015, allocations: 12.03 kB / 0.499 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004707/0.402, allocations: 83.23 kB / 0.499 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007244/0.4027, allocations: 448.8 kB / 0.4995 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.4028, allocations: 45.31 kB / 0.4995 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.4029, allocations: 60 kB / 0.4996 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.4046, allocations: 0.8185 MB / 0.5004 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.4047, allocations: 3.906 kB / 0.5004 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.45e-05/0.4048, allocations: 32 kB / 0.5004 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.4048, allocations: 19.94 kB / 0.5004 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.4066, allocations: 1.02 MB / 0.5014 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01733/0.4239, allocations: 12.8 MB / 0.5139 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.4257, allocations: 0.7338 MB / 0.5146 GB, free: 9.996 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005671/0.4263, allocations: 414.6 kB / 0.515 GB, free: 9.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01478/0.4411, allocations: 12.24 MB / 0.527 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.85e-05/0.4412, allocations: 47.22 kB / 0.527 GB, free: 10.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.815e-06/0.4412, allocations: 0 / 0.527 GB, free: 10.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.009645/0.4508, allocations: 3.372 MB / 0.5303 GB, free: 7.449 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.4509, allocations: 68.34 kB / 0.5304 GB, free: 7.371 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.4514, allocations: 352.5 kB / 0.5307 GB, free: 7.016 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.973e-05/0.4515, allocations: 45.64 kB / 0.5308 GB, free: 6.965 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.4516, allocations: 244.6 kB / 0.531 GB, free: 6.723 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/0.4519, allocations: 303.6 kB / 0.5313 GB, free: 6.422 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/0.4522, allocations: 162.5 kB / 0.5314 GB, free: 6.254 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4523, allocations: 362.8 kB / 0.5318 GB, free: 5.891 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005763/0.4529, allocations: 369.8 kB / 0.5321 GB, free: 5.531 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009022/0.4538, allocations: 492.2 kB / 0.5326 GB, free: 5.016 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.4555, allocations: 0.9059 MB / 0.5335 GB, free: 4.074 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4555, allocations: 0 / 0.5335 GB, free: 4.074 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002552/0.4581, allocations: 1.113 MB / 0.5346 GB, free: 2.945 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4581, allocations: 8 kB / 0.5346 GB, free: 2.938 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.4581, allocations: 4 kB / 0.5346 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008051/0.4589, allocations: 163.6 kB / 0.5348 GB, free: 2.762 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.4597, allocations: 195.7 kB / 0.5349 GB, free: 2.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1994/0.6591, allocations: 4.11 MB / 0.539 GB, free: 130.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005895/0.6597, allocations: 23.58 kB / 0.539 GB, free: 130.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/0.6599, allocations: 43.77 kB / 0.539 GB, free: 130.2 MB / 462.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.0005084/0.6604, allocations: 223.8 kB / 0.5392 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005442/0.661, allocations: 59.34 kB / 0.5393 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/0.664, allocations: 1.279 MB / 0.5405 GB, free: 129.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.664, allocations: 14.53 kB / 0.5406 GB, free: 129.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6641, allocations: 0 / 0.5406 GB, free: 129.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001667/0.6657, allocations: 1.322 MB / 0.5418 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003124/0.6689, allocations: 1.967 MB / 0.5438 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6689, allocations: 3.75 kB / 0.5438 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/0.6695, allocations: 159.3 kB / 0.5439 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001607/0.6711, allocations: 294.6 kB / 0.5442 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.881e-05/0.6712, allocations: 33.53 kB / 0.5442 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005238/0.6717, allocations: 1.287 MB / 0.5455 GB, free: 126.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.6718, allocations: 3.969 kB / 0.5455 GB, free: 126.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.674, allocations: 1.422 MB / 0.5469 GB, free: 126 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.6742, allocations: 126.4 kB / 0.547 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.6743, allocations: 19.88 kB / 0.547 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/0.6749, allocations: 31.36 kB / 0.5471 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.832e-05/0.675, allocations: 55.19 kB / 0.5471 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.541e-05/0.6751, allocations: 45.56 kB / 0.5471 GB, free: 125.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002714/0.6754, allocations: 285.8 kB / 0.5474 GB, free: 125.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6754, allocations: 0 / 0.5474 GB, free: 125.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003605/0.679, allocations: 1.401 MB / 0.5488 GB, free: 125.5 MB / 462.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.005789/0.6848, allocations: 1.739 MB / 0.5505 GB, free: 125.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002007/0.6868, allocations: 1.166 MB / 0.5516 GB, free: 124.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6869, allocations: 3.469 kB / 0.5516 GB, free: 124.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007502/0.6876, allocations: 0.4889 MB / 0.5521 GB, free: 124.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.6894, allocations: 397.3 kB / 0.5525 GB, free: 124.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.6918, allocations: 1.704 MB / 0.5542 GB, free: 123.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.6921, allocations: 0.9052 MB / 0.555 GB, free: 122.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.6924, allocations: 95.39 kB / 0.5551 GB, free: 122.2 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6924, allocations: 4 kB / 0.5551 GB, free: 122.2 MB / 462.1 MB Notification: Performance of Templates: time 0.06147/0.7539, allocations: 41.18 MB / 0.5953 GB, free: 81 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches