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.001106/0.001106, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001128/0.001128, allocations: 187 kB / 18.67 MB, free: 4.402 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.428/1.428, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001246/0.001247, allocations: 43.94 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08194/0.0832, allocations: 46.61 MB / 375.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.215/0.2982, allocations: 37.45 MB / 412.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007024/0.3053, allocations: 4.579 MB / 417.2 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007232/0.306, allocations: 9.094 kB / 417.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.3073, allocations: 293 kB / 417.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.3087, allocations: 483.9 kB / 418 MB, free: 296 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006284/0.315, allocations: 1.649 MB / 419.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00208/0.3171, allocations: 1.263 MB / 420.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003775/0.3175, allocations: 175.2 kB / 421 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009797/0.3185, allocations: 474.1 kB / 421.5 MB, free: 14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007952/0.3193, allocations: 402.7 kB / 421.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.3195, allocations: 49.52 kB / 421.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.3214, allocations: 0.7549 MB / 422.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.3217, allocations: 133.4 kB / 422.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007666/0.3224, allocations: 277.7 kB / 423.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.3249, allocations: 1.05 MB / 424.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3249, allocations: 0 / 424.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3249, allocations: 0 / 424.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.746e-05/0.3249, allocations: 4 kB / 424.1 MB, free: 12.47 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.001658/0.3266, allocations: 0.7914 MB / 424.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.3267, allocations: 9.844 kB / 425 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007543/0.3274, allocations: 82.16 kB / 425 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006737/0.3281, allocations: 348.6 kB / 425.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.3282, allocations: 29.09 kB / 425.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.815e-05/0.3282, allocations: 46.27 kB / 425.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007159/0.329, allocations: 479.6 kB / 425.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.329, allocations: 3.938 kB / 425.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/0.3291, allocations: 17.47 kB / 425.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.3291, allocations: 9.625 kB / 425.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/0.3296, allocations: 302.7 kB / 426.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01346/0.3431, allocations: 6.732 MB / 433 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000492/0.3436, allocations: 274.4 kB / 433.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.3438, allocations: 160.7 kB / 433.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01018/0.354, allocations: 3.889 MB / 437.3 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.3541, allocations: 42.56 kB / 437.3 MB, free: 396 kB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.285e-06/0.3541, allocations: 0 / 437.3 MB, free: 396 kB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.01216/0.3663, allocations: 2.457 MB / 439.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.3664, allocations: 63.33 kB / 439.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.3667, allocations: 299.3 kB / 440.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.3668, allocations: 33.7 kB / 440.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.367, allocations: 232.5 kB / 440.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.3671, allocations: 166.6 kB / 440.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.3672, allocations: 102.2 kB / 440.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3674, allocations: 346.8 kB / 441 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.3677, allocations: 149.1 kB / 441.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.368, allocations: 279.7 kB / 441.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006535/0.3687, allocations: 472.3 kB / 441.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3687, allocations: 4 kB / 441.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001116/0.3698, allocations: 0.5918 MB / 442.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3699, allocations: 7.938 kB / 442.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3699, allocations: 4 kB / 442.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007855/0.3777, allocations: 1.852 MB / 444.3 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/0.3782, allocations: 111.8 kB / 444.4 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.3802, allocations: 2.569 MB / 447 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/0.3806, allocations: 12 kB / 447 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.15e-05/0.3807, allocations: 24.12 kB / 447.1 MB, free: 6.234 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.0002493/0.3809, allocations: 177.7 kB / 447.2 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.381, allocations: 39.77 kB / 447.3 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.3823, allocations: 0.8552 MB / 448.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.3824, allocations: 11.98 kB / 448.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.3824, allocations: 0 / 448.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001066/0.3834, allocations: 0.9612 MB / 449.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.3855, allocations: 1.482 MB / 450.6 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.3855, allocations: 0 / 450.6 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.3858, allocations: 79.84 kB / 450.7 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003224/0.3891, allocations: 0.6256 MB / 451.3 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.3891, allocations: 12 kB / 451.3 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009193/0.3901, allocations: 1.288 MB / 452.6 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.3901, allocations: 4 kB / 452.6 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.3916, allocations: 1.218 MB / 453.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.3917, allocations: 120.8 kB / 453.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.507e-05/0.3918, allocations: 15.94 kB / 453.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.392, allocations: 12 kB / 453.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.3921, allocations: 27.7 kB / 454 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.3922, allocations: 20.27 kB / 454 MB, free: 15.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001983/0.3924, allocations: 210 kB / 454.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3924, allocations: 0 / 454.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007794/0.3931, allocations: 231.7 kB / 454.4 MB, free: 14.59 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.0007042/0.3939, allocations: 282.8 kB / 454.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.395, allocations: 0.6946 MB / 455.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3951, allocations: 3.938 kB / 455.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008832/0.396, allocations: 441 kB / 455.8 MB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.3972, allocations: 239.6 kB / 456.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.3991, allocations: 1.245 MB / 457.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.3995, allocations: 0.8402 MB / 458.1 MB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002725/0.3997, allocations: 68.34 kB / 458.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.3998, allocations: 39.42 kB / 458.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3998, allocations: 0 / 458.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of Templates: time 0.02132/0.4212, allocations: 12.76 MB / 471 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/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