Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001194/0.001194, allocations: 97 kB / 17.31 MB, free: 5.941 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.001499/0.001499, allocations: 182.5 kB / 18.21 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.3 MB / 242.3 MB, free: 14.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.0002979, allocations: 7.938 kB / 302.1 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09317/0.09349, allocations: 50.42 MB / 352.5 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2/0.2936, allocations: 36.88 MB / 389.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005294/0.2989, allocations: 4.567 MB / 393.9 MB, free: 4.738 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007156/0.2997, allocations: 8 kB / 394 MB, free: 4.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008318/0.3005, allocations: 246.6 kB / 394.2 MB, free: 4.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.3016, allocations: 468.6 kB / 394.7 MB, free: 4.336 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00446/0.3061, allocations: 1.398 MB / 396 MB, free: 3.586 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002349/0.3084, allocations: 1.955 MB / 398 MB, free: 2.926 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.3087, allocations: 115.5 kB / 398.1 MB, free: 2.875 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008327/0.3096, allocations: 400.7 kB / 398.5 MB, free: 2.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005392/0.3101, allocations: 423.7 kB / 398.9 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.898e-05/0.3102, allocations: 21.09 kB / 398.9 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.312, allocations: 0.7215 MB / 399.7 MB, free: 2.336 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.3121, allocations: 109.5 kB / 399.8 MB, free: 2.258 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003162/0.3124, allocations: 279.2 kB / 400 MB, free: 2.094 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009255/0.3134, allocations: 0.751 MB / 400.8 MB, free: 1.598 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3134, allocations: 7.922 kB / 400.8 MB, free: 1.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3134, allocations: 0 / 400.8 MB, free: 1.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.3134, allocations: 0 / 400.8 MB, free: 1.59 MB / 302.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.0009665/0.3144, allocations: 0.6814 MB / 401.5 MB, free: 1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3144, allocations: 9.469 kB / 401.5 MB, free: 1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005765/0.315, allocations: 88.03 kB / 401.6 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.3154, allocations: 330.2 kB / 401.9 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.3154, allocations: 30.06 kB / 401.9 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.197e-05/0.3155, allocations: 41.56 kB / 402 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000592/0.3161, allocations: 475 kB / 402.4 MB, free: 280 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.3161, allocations: 1.312 kB / 402.4 MB, free: 280 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.3162, allocations: 18.03 kB / 402.5 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.3162, allocations: 9.312 kB / 402.5 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.3166, allocations: 303.2 kB / 402.8 MB, free: 120 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01313/0.3298, allocations: 6.732 MB / 409.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/0.3302, allocations: 280 kB / 409.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.3305, allocations: 156.8 kB / 409.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01007/0.3406, allocations: 3.886 MB / 413.8 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.255e-05/0.3406, allocations: 37.3 kB / 413.8 MB, free: 7.539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.3407, allocations: 0 / 413.8 MB, free: 7.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01225/0.3529, allocations: 2.48 MB / 416.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.353, allocations: 59.34 kB / 416.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/0.3534, allocations: 303.2 kB / 416.7 MB, free: 4.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.822e-05/0.3535, allocations: 37.7 kB / 416.7 MB, free: 4.613 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.3536, allocations: 224 kB / 416.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.3538, allocations: 157.7 kB / 417.1 MB, free: 4.234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.3538, allocations: 45.7 kB / 417.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.354, allocations: 346.8 kB / 417.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.3542, allocations: 153.1 kB / 417.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.3546, allocations: 287.6 kB / 417.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006469/0.3553, allocations: 468.3 kB / 418.4 MB, free: 2.848 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3553, allocations: 3.938 kB / 418.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001139/0.3564, allocations: 0.5916 MB / 419 MB, free: 2.234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.3565, allocations: 11.94 kB / 419 MB, free: 2.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3565, allocations: 4 kB / 419 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006545/0.363, allocations: 0.7678 MB / 419.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.3635, allocations: 111.8 kB / 419.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/0.3656, allocations: 2.471 MB / 422.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/0.3661, allocations: 31.89 kB / 422.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.3662, allocations: 20 kB / 422.4 MB, free: 14.62 MB / 334.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.0002683/0.3665, allocations: 189.6 kB / 422.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.663e-05/0.3666, allocations: 43.47 kB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.3678, allocations: 0.8552 MB / 423.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.3679, allocations: 4 kB / 423.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3679, allocations: 4 kB / 423.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009735/0.3688, allocations: 0.9534 MB / 424.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.3709, allocations: 1.492 MB / 425.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.3709, allocations: 0 / 425.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.3712, allocations: 79.89 kB / 426 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003463/0.3747, allocations: 0.6374 MB / 426.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.3747, allocations: 12 kB / 426.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009314/0.3757, allocations: 1.284 MB / 427.9 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3757, allocations: 0 / 427.9 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.3772, allocations: 1.226 MB / 429.1 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.3774, allocations: 116.6 kB / 429.3 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/0.3775, allocations: 16.06 kB / 429.3 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.3778, allocations: 19.89 kB / 429.3 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.3779, allocations: 31.95 kB / 429.3 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.3779, allocations: 16 kB / 429.3 MB, free: 7.383 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002199/0.3781, allocations: 217.9 kB / 429.5 MB, free: 7.164 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3781, allocations: 0 / 429.5 MB, free: 7.164 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008513/0.379, allocations: 231.9 kB / 429.8 MB, free: 6.938 MB / 334.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.0006627/0.3797, allocations: 278.8 kB / 430 MB, free: 6.652 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.3809, allocations: 0.687 MB / 430.7 MB, free: 5.953 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3809, allocations: 0 / 430.7 MB, free: 5.953 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008639/0.3817, allocations: 432.3 kB / 431.2 MB, free: 5.531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.3831, allocations: 235.3 kB / 431.4 MB, free: 5.309 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.3851, allocations: 1.555 MB / 432.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.3855, allocations: 0.8327 MB / 433.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.3856, allocations: 47.42 kB / 433.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3856, allocations: 0 / 433.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of Templates: time 0.01682/0.4024, allocations: 12.87 MB / 446.7 MB, free: 5.961 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches