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.00154/0.00154, allocations: 110.4 kB / 17.73 MB, free: 5.363 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.001786/0.001786, allocations: 187.1 kB / 18.66 MB, free: 4.441 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.356/1.356, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001268/0.001268, allocations: 51.92 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09217/0.09345, allocations: 46.62 MB / 375.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2245/0.3179, allocations: 37.45 MB / 412.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005978/0.324, allocations: 4.581 MB / 417.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000689/0.3247, allocations: 6.312 kB / 417.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008634/0.3256, allocations: 289.2 kB / 417.5 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009218/0.3266, allocations: 489.7 kB / 418 MB, free: 284 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005331/0.3319, allocations: 1.646 MB / 419.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.3335, allocations: 1.276 MB / 420.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/0.3338, allocations: 174.8 kB / 421 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006974/0.3345, allocations: 480.4 kB / 421.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005231/0.335, allocations: 407.3 kB / 421.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.243e-05/0.3351, allocations: 44.66 kB / 422 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.3368, allocations: 0.7548 MB / 422.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.3369, allocations: 133.8 kB / 422.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.3372, allocations: 273.5 kB / 423.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.3385, allocations: 1.058 MB / 424.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3386, allocations: 0 / 424.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3386, allocations: 1.031 kB / 424.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.3386, allocations: 0 / 424.2 MB, free: 12.46 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.001197/0.3398, allocations: 0.7764 MB / 424.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3398, allocations: 11.28 kB / 425 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005693/0.3404, allocations: 72.97 kB / 425 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005238/0.3409, allocations: 344.6 kB / 425.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.341, allocations: 33.88 kB / 425.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.484e-05/0.3411, allocations: 37.38 kB / 425.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007137/0.3418, allocations: 479.3 kB / 425.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.3418, allocations: 1.781 kB / 425.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.3419, allocations: 17.38 kB / 425.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.3419, allocations: 11.06 kB / 425.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004622/0.3423, allocations: 309.1 kB / 426.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01259/0.3549, allocations: 6.732 MB / 433 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.3554, allocations: 274.5 kB / 433.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.3557, allocations: 148.8 kB / 433.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00979/0.3655, allocations: 3.901 MB / 437.3 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.3655, allocations: 38.5 kB / 437.3 MB, free: 408 kB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.384e-06/0.3656, allocations: 0 / 437.3 MB, free: 408 kB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.01165/0.3772, allocations: 2.451 MB / 439.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.3773, allocations: 63.34 kB / 439.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.3776, allocations: 295.3 kB / 440.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.3777, allocations: 37.7 kB / 440.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.3779, allocations: 224 kB / 440.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.378, allocations: 161.6 kB / 440.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.3781, allocations: 94.25 kB / 440.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3782, allocations: 346.8 kB / 441 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.3785, allocations: 149.1 kB / 441.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.3788, allocations: 283.7 kB / 441.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006152/0.3795, allocations: 472.3 kB / 441.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3795, allocations: 0 / 441.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001043/0.3805, allocations: 0.5881 MB / 442.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3806, allocations: 15.97 kB / 442.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3806, allocations: 7.984 kB / 442.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00774/0.3883, allocations: 1.843 MB / 444.3 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.3888, allocations: 107.8 kB / 444.4 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.3911, allocations: 2.562 MB / 447 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.3915, allocations: 16.05 kB / 447 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.3916, allocations: 27.97 kB / 447 MB, free: 6.277 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.0003977/0.392, allocations: 177.6 kB / 447.2 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.3921, allocations: 39.53 kB / 447.2 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.3936, allocations: 0.8591 MB / 448.1 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.3936, allocations: 7.984 kB / 448.1 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3936, allocations: 1 kB / 448.1 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001162/0.3948, allocations: 0.9535 MB / 449 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.397, allocations: 1.486 MB / 450.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.397, allocations: 7.938 kB / 450.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.3973, allocations: 79.92 kB / 450.6 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003142/0.4004, allocations: 0.6178 MB / 451.2 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/0.4005, allocations: 12 kB / 451.2 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.4017, allocations: 1.285 MB / 452.5 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4017, allocations: 0 / 452.5 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.4033, allocations: 1.221 MB / 453.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.4035, allocations: 120.6 kB / 453.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-05/0.4036, allocations: 8 kB / 453.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.4039, allocations: 8 kB / 453.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.404, allocations: 35.89 kB / 453.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.404, allocations: 20 kB / 453.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002323/0.4042, allocations: 213.9 kB / 454.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.4043, allocations: 0 / 454.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001001/0.4053, allocations: 235.9 kB / 454.4 MB, free: 14.64 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.0008618/0.4061, allocations: 271.1 kB / 454.6 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.4075, allocations: 0.7137 MB / 455.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4075, allocations: 3.938 kB / 455.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.4086, allocations: 441.2 kB / 455.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.41, allocations: 231.8 kB / 456 MB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.4121, allocations: 1.217 MB / 457.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/0.4126, allocations: 0.8363 MB / 458.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003464/0.413, allocations: 68.34 kB / 458.1 MB, free: 10.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.037e-05/0.4131, allocations: 43.42 kB / 458.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4131, allocations: 0 / 458.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of Templates: time 0.02131/0.4344, allocations: 12.76 MB / 470.9 MB, free: 13.98 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/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