Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001187/0.001187, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001424, allocations: 204.9 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.591/1.591, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2607, allocations: 50.55 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02601/0.2868, allocations: 27.11 MB / 437 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005109/0.2919, allocations: 4.159 MB / 441.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000393/0.2924, allocations: 7.938 kB / 441.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007864/0.2932, allocations: 202.7 kB / 441.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008731/0.2941, allocations: 342.1 kB / 441.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004321/0.2984, allocations: 1.471 MB / 443.2 MB, free: 204 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00157/0.3, allocations: 0.8834 MB / 444.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003341/0.3004, allocations: 100.6 kB / 444.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006665/0.3071, allocations: 4.053 MB / 448.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005459/0.3076, allocations: 274.9 kB / 448.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.462e-05/0.3077, allocations: 28 kB / 448.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.3094, allocations: 0.7298 MB / 449.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.3095, allocations: 95.72 kB / 449.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.3098, allocations: 203.1 kB / 449.6 MB, free: 9.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.3113, allocations: 0.8456 MB / 450.4 MB, free: 8.988 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3114, allocations: 0 / 450.4 MB, free: 8.988 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3114, allocations: 0 / 450.4 MB, free: 8.988 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.3114, allocations: 0 / 450.4 MB, free: 8.988 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001141/0.3125, allocations: 0.6432 MB / 451.1 MB, free: 8.297 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3126, allocations: 8.031 kB / 451.1 MB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004924/0.3131, allocations: 68.53 kB / 451.1 MB, free: 8.223 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/0.3136, allocations: 295.6 kB / 451.4 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.3136, allocations: 20.94 kB / 451.4 MB, free: 7.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.3137, allocations: 24.38 kB / 451.5 MB, free: 7.852 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/0.3142, allocations: 346.6 kB / 451.8 MB, free: 7.473 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.3143, allocations: 4 kB / 451.8 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.3143, allocations: 12 kB / 451.8 MB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.3143, allocations: 4 kB / 451.8 MB, free: 7.453 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.3147, allocations: 214 kB / 452 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/0.3277, allocations: 5.912 MB / 457.9 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.328, allocations: 174.7 kB / 458.1 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.3282, allocations: 96.33 kB / 458.2 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01033/0.3385, allocations: 3.893 MB / 462.1 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.3386, allocations: 34.56 kB / 462.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.144e-06/0.3386, allocations: 0 / 462.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006371/0.345, allocations: 1.422 MB / 463.6 MB, free: 10.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.3451, allocations: 51.41 kB / 463.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.3453, allocations: 258.5 kB / 463.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.3454, allocations: 33.7 kB / 463.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.3455, allocations: 184.1 kB / 464.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.592e-05/0.3456, allocations: 94.64 kB / 464.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.3457, allocations: 73.59 kB / 464.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3458, allocations: 334.8 kB / 464.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.346, allocations: 87.97 kB / 464.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.3462, allocations: 190.9 kB / 464.8 MB, free: 9.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.3466, allocations: 306.9 kB / 465.1 MB, free: 9.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3466, allocations: 4 kB / 465.1 MB, free: 9.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006843/0.3473, allocations: 394.6 kB / 465.5 MB, free: 8.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3473, allocations: 6.969 kB / 465.5 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3473, allocations: 4.375 kB / 465.5 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003863/0.3512, allocations: 0.9361 MB / 466.5 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.3515, allocations: 71.84 kB / 466.5 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.353, allocations: 1.982 MB / 468.5 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.3533, allocations: 12 kB / 468.5 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.3533, allocations: 12 kB / 468.5 MB, free: 5.535 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.3535, allocations: 161.8 kB / 468.7 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.787e-05/0.3536, allocations: 27.66 kB / 468.7 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007086/0.3543, allocations: 494.1 kB / 469.2 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.3543, allocations: 4 kB / 469.2 MB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.3543, allocations: 0 / 469.2 MB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006046/0.355, allocations: 0.7168 MB / 469.9 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.3562, allocations: 0.9456 MB / 470.9 MB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3563, allocations: 0 / 470.9 MB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.3565, allocations: 43.98 kB / 470.9 MB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001738/0.3582, allocations: 320.3 kB / 471.2 MB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.3583, allocations: 8 kB / 471.2 MB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004754/0.3587, allocations: 0.6421 MB / 471.9 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3588, allocations: 4.031 kB / 471.9 MB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009124/0.3597, allocations: 0.7253 MB / 472.6 MB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.3598, allocations: 104.8 kB / 472.7 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.3598, allocations: 4 kB / 472.7 MB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.36, allocations: 8 kB / 472.7 MB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.3601, allocations: 15.97 kB / 472.7 MB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.3601, allocations: 12 kB / 472.8 MB, free: 1.074 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.3603, allocations: 182 kB / 472.9 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3603, allocations: 0 / 472.9 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006736/0.361, allocations: 195.9 kB / 473.1 MB, free: 0.707 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006623/0.3617, allocations: 271.1 kB / 473.4 MB, free: 444 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008293/0.3625, allocations: 459.4 kB / 473.8 MB, free: 15.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.3625, allocations: 0 / 473.8 MB, free: 15.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005068/0.363, allocations: 227.8 kB / 474.1 MB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009934/0.3641, allocations: 172 kB / 474.2 MB, free: 15.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.3654, allocations: 0.8271 MB / 475.1 MB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.3658, allocations: 0.7721 MB / 475.8 MB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/0.3659, allocations: 43.36 kB / 475.9 MB, free: 13.88 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3659, allocations: 0 / 475.9 MB, free: 13.88 MB / 398.1 MB Notification: Performance of Templates: time 0.01221/0.3781, allocations: 8.46 MB / 484.3 MB, free: 5.426 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches