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.001487/0.001487, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001692/0.001692, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 63.92 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09124/0.09238, allocations: 50.52 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2258/0.3182, allocations: 65.71 MB / 424.6 MB, free: 8.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006731/0.325, allocations: 5.48 MB / 430.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000342/0.3254, allocations: 4 kB / 430.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.3264, allocations: 354 kB / 430.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008821/0.3273, allocations: 0.5088 MB / 430.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01938/0.3467, allocations: 7.438 MB / 438.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001784/0.3485, allocations: 1.543 MB / 439.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.3488, allocations: 215.1 kB / 440.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007861/0.3496, allocations: 0.6191 MB / 440.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006627/0.3503, allocations: 0.5684 MB / 441.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.3504, allocations: 88 kB / 441.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01832/0.3687, allocations: 10.23 MB / 451.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004329/0.3692, allocations: 319.3 kB / 452 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005761/0.3698, allocations: 430.4 kB / 452.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.3824, allocations: 5.953 MB / 458.3 MB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3825, allocations: 3.938 kB / 458.3 MB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3825, allocations: 0 / 458.3 MB, free: 7.363 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.3825, allocations: 0 / 458.3 MB, free: 7.363 MB / 366.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.003379/0.3859, allocations: 1.568 MB / 459.9 MB, free: 5.746 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3859, allocations: 15.91 kB / 459.9 MB, free: 5.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004311/0.3864, allocations: 83.23 kB / 460 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007225/0.3871, allocations: 448.8 kB / 460.4 MB, free: 5.172 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.3872, allocations: 45.31 kB / 460.5 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.3873, allocations: 67.91 kB / 460.5 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.3891, allocations: 0.8107 MB / 461.4 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.3891, allocations: 0 / 461.4 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.071e-05/0.3892, allocations: 28 kB / 461.4 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.3892, allocations: 16 kB / 461.4 MB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.391, allocations: 1.024 MB / 462.4 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01645/0.4075, allocations: 12.78 MB / 475.2 MB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.4092, allocations: 0.7412 MB / 475.9 MB, free: 3.496 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005459/0.4097, allocations: 415 kB / 476.4 MB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01445/0.4242, allocations: 12.24 MB / 488.6 MB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/0.4243, allocations: 43.2 kB / 488.6 MB, free: 4.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 3.257e-06/0.4243, allocations: 0 / 488.6 MB, free: 4.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.009554/0.4339, allocations: 3.376 MB / 492 MB, free: 0.9453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.434, allocations: 64.34 kB / 492.1 MB, free: 0.8672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.4343, allocations: 356.4 kB / 492.4 MB, free: 0.5117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.04e-05/0.4344, allocations: 45.7 kB / 492.5 MB, free: 472 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.4346, allocations: 244.7 kB / 492.7 MB, free: 220 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.4348, allocations: 303.5 kB / 493 MB, free: 15.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.4351, allocations: 158.6 kB / 493.2 MB, free: 15.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.4352, allocations: 362.8 kB / 493.5 MB, free: 15.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005613/0.4358, allocations: 377.7 kB / 493.9 MB, free: 15.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008978/0.4367, allocations: 492.2 kB / 494.4 MB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.4384, allocations: 0.9059 MB / 495.3 MB, free: 13.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4384, allocations: 0 / 495.3 MB, free: 13.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002568/0.441, allocations: 1.113 MB / 496.4 MB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.441, allocations: 11.94 kB / 496.4 MB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.441, allocations: 4 kB / 496.4 MB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008203/0.4418, allocations: 163.5 kB / 496.6 MB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007507/0.4426, allocations: 191.7 kB / 496.7 MB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/0.4454, allocations: 4.109 MB / 0.4891 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.4458, allocations: 24.31 kB / 0.4891 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.446, allocations: 43.98 kB / 0.4892 GB, free: 7.559 MB / 414.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.0004053/0.4464, allocations: 221.6 kB / 0.4894 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004373/0.4468, allocations: 63.34 kB / 0.4895 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.4494, allocations: 1.284 MB / 0.4907 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.4494, allocations: 12 kB / 0.4907 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.4494, allocations: 0 / 0.4907 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001849/0.4513, allocations: 1.324 MB / 0.492 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.4545, allocations: 1.964 MB / 0.4939 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.4545, allocations: 8 kB / 0.4939 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007185/0.4552, allocations: 163.8 kB / 0.4941 GB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/0.457, allocations: 289.2 kB / 0.4944 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.038e-05/0.4571, allocations: 35.97 kB / 0.4944 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007523/0.4578, allocations: 1.289 MB / 0.4957 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4578, allocations: 0 / 0.4957 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002538/0.4604, allocations: 1.417 MB / 0.497 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.4606, allocations: 124.6 kB / 0.4972 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.4607, allocations: 23.98 kB / 0.4972 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004933/0.4612, allocations: 27.98 kB / 0.4972 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.663e-05/0.4613, allocations: 56.92 kB / 0.4973 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.076e-05/0.4614, allocations: 43.97 kB / 0.4973 GB, free: 14.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003152/0.4617, allocations: 275 kB / 0.4976 GB, free: 14.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4617, allocations: 4 kB / 0.4976 GB, free: 14.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003478/0.4652, allocations: 1.413 MB / 0.499 GB, free: 13.21 MB / 430.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.004787/0.47, allocations: 1.728 MB / 0.5006 GB, free: 11.47 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002203/0.4722, allocations: 1.164 MB / 0.5018 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.4723, allocations: 0 / 0.5018 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008876/0.4731, allocations: 499.2 kB / 0.5023 GB, free: 9.781 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.4749, allocations: 393.1 kB / 0.5026 GB, free: 9.402 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.4776, allocations: 1.656 MB / 0.5043 GB, free: 7.719 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.478, allocations: 0.9088 MB / 0.5051 GB, free: 6.781 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006501/0.4787, allocations: 221.1 kB / 0.5053 GB, free: 6.562 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.4789, allocations: 71.42 kB / 0.5054 GB, free: 6.492 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4789, allocations: 0 / 0.5054 GB, free: 6.492 MB / 430.1 MB Notification: Performance of Templates: time 0.2072/0.6861, allocations: 49.98 MB / 0.5542 GB, free: 142 MB / 446.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 -s cvode -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