Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 100.2 kB / 18.39 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001738, allocations: 188.3 kB / 19.33 MB, free: 3.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 51.94 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0808/0.08218, allocations: 46.63 MB / 375.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1985/0.2807, allocations: 37.45 MB / 413.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005568/0.2863, allocations: 4.581 MB / 417.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000422/0.2868, allocations: 8.969 kB / 417.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008614/0.2877, allocations: 289.7 kB / 418.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009549/0.2887, allocations: 487.8 kB / 418.6 MB, free: 500 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005133/0.2938, allocations: 1.641 MB / 420.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001699/0.2955, allocations: 1.266 MB / 421.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.2958, allocations: 174.2 kB / 421.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007358/0.2966, allocations: 484.7 kB / 422.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005449/0.2971, allocations: 402.5 kB / 422.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.208e-05/0.2972, allocations: 44.88 kB / 422.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.2991, allocations: 0.7508 MB / 423.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.2992, allocations: 137.2 kB / 423.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003323/0.2996, allocations: 281.6 kB / 423.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.3012, allocations: 1.054 MB / 424.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3012, allocations: 1.094 kB / 424.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3012, allocations: 0 / 424.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.3012, allocations: 0 / 424.8 MB, free: 12.67 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001142/0.3023, allocations: 0.7656 MB / 425.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3024, allocations: 13.61 kB / 425.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005875/0.303, allocations: 81.69 kB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.3035, allocations: 345 kB / 426 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.3035, allocations: 29.28 kB / 426.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/0.3036, allocations: 44.67 kB / 426.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006786/0.3043, allocations: 471.5 kB / 426.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.3043, allocations: 10.78 kB / 426.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.3044, allocations: 21.5 kB / 426.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.3044, allocations: 12.59 kB / 426.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00045/0.3048, allocations: 298.5 kB / 426.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01381/0.3187, allocations: 6.735 MB / 433.6 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.3192, allocations: 274.5 kB / 433.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.3195, allocations: 152.8 kB / 434.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0108/0.3303, allocations: 3.889 MB / 437.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.3303, allocations: 34.5 kB / 438 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.595e-06/0.3304, allocations: 0 / 438 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.01196/0.3423, allocations: 2.461 MB / 440.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.3424, allocations: 59.34 kB / 440.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.3427, allocations: 295.3 kB / 440.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.3428, allocations: 37.7 kB / 440.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.3429, allocations: 224 kB / 441 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.3431, allocations: 165.6 kB / 441.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.3432, allocations: 94.25 kB / 441.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3434, allocations: 346.8 kB / 441.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.3436, allocations: 153.1 kB / 441.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.344, allocations: 271.7 kB / 442 MB, free: 12.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006092/0.3446, allocations: 472.2 kB / 442.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3446, allocations: 4 kB / 442.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00104/0.3456, allocations: 0.5958 MB / 443.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3457, allocations: 11.94 kB / 443.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3457, allocations: 4 kB / 443.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007981/0.3537, allocations: 1.851 MB / 445 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.3541, allocations: 107.9 kB / 445.1 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.3561, allocations: 2.558 MB / 447.6 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.3565, allocations: 19.94 kB / 447.7 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.3565, allocations: 20 kB / 447.7 MB, free: 6.402 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002361/0.3567, allocations: 185.6 kB / 447.9 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.409e-05/0.3568, allocations: 39.53 kB / 447.9 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.358, allocations: 0.8552 MB / 448.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.3581, allocations: 8 kB / 448.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.3581, allocations: 0 / 448.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009726/0.359, allocations: 0.9574 MB / 449.7 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.361, allocations: 1.486 MB / 451.2 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.361, allocations: 0 / 451.2 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.3613, allocations: 79.89 kB / 451.3 MB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003302/0.3646, allocations: 0.6217 MB / 451.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.065e-05/0.3647, allocations: 15.98 kB / 451.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.3657, allocations: 1.28 MB / 453.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3658, allocations: 0 / 453.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.3673, allocations: 1.225 MB / 454.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.3675, allocations: 112.6 kB / 454.5 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.3676, allocations: 12 kB / 454.5 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.3678, allocations: 16.03 kB / 454.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.3679, allocations: 27.91 kB / 454.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.3679, allocations: 23.98 kB / 454.6 MB, free: 15.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002204/0.3682, allocations: 209.9 kB / 454.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.3682, allocations: 0 / 454.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008501/0.369, allocations: 235.9 kB / 455 MB, free: 14.76 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006087/0.3696, allocations: 270.9 kB / 455.3 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.3709, allocations: 0.7023 MB / 456 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3709, allocations: 4 kB / 456 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008789/0.3718, allocations: 436.9 kB / 456.4 MB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.3731, allocations: 249.3 kB / 456.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.3751, allocations: 1.254 MB / 457.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.3756, allocations: 0.8285 MB / 458.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.3757, allocations: 51.36 kB / 458.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3757, allocations: 0 / 458.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of Templates: time 0.01738/0.3931, allocations: 12.98 MB / 471.8 MB, free: 13.91 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches