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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 188.7 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 47.92 kB / 370.5 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2372, allocations: 52.19 MB / 422.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04138/0.2786, allocations: 37.9 MB / 460.5 MB, free: 8.535 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006027/0.2846, allocations: 4.615 MB / 465.1 MB, free: 3.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003952/0.285, allocations: 7.938 kB / 465.2 MB, free: 3.902 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000896/0.2859, allocations: 298.2 kB / 465.4 MB, free: 3.609 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.287, allocations: 485.3 kB / 465.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004501/0.2915, allocations: 1.66 MB / 467.6 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.2933, allocations: 1.3 MB / 468.9 MB, free: 176 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002794/0.2936, allocations: 122.9 kB / 469 MB, free: 44 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008197/0.2944, allocations: 482.5 kB / 469.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006189/0.295, allocations: 438.3 kB / 469.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.57e-05/0.2951, allocations: 44 kB / 469.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.2967, allocations: 0.761 MB / 470.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.2969, allocations: 139.5 kB / 470.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003313/0.2973, allocations: 282.9 kB / 471.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.2989, allocations: 1.052 MB / 472.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.2989, allocations: 0 / 472.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2989, allocations: 3.938 kB / 472.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.2989, allocations: 3.938 kB / 472.2 MB, free: 12.86 MB / 382.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.00119/0.3001, allocations: 0.7114 MB / 472.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3002, allocations: 12.03 kB / 472.9 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.305e-05/0.3002, allocations: 82.7 kB / 473 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005837/0.3008, allocations: 76.62 kB / 473.1 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005552/0.3014, allocations: 281.8 kB / 473.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.3014, allocations: 29.38 kB / 473.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.438e-05/0.3015, allocations: 40.38 kB / 473.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007247/0.3022, allocations: 475.4 kB / 473.9 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.3022, allocations: 0 / 473.9 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.3023, allocations: 20 kB / 473.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.3023, allocations: 12 kB / 473.9 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/0.3028, allocations: 303.7 kB / 474.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/0.3167, allocations: 5.487 MB / 479.7 MB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.3172, allocations: 263.3 kB / 479.9 MB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.3175, allocations: 144.8 kB / 480.1 MB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01051/0.328, allocations: 2.677 MB / 482.8 MB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/0.328, allocations: 42.42 kB / 482.8 MB, free: 1.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.914e-06/0.328, allocations: 0 / 482.8 MB, free: 1.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01183/0.3399, allocations: 2.308 MB / 485.1 MB, free: 15.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3399, allocations: 55.41 kB / 485.2 MB, free: 15.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.3403, allocations: 304.5 kB / 485.5 MB, free: 15.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.3403, allocations: 37.7 kB / 485.5 MB, free: 15.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.3405, allocations: 224.5 kB / 485.7 MB, free: 14.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.3406, allocations: 166.6 kB / 485.9 MB, free: 14.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.3408, allocations: 98.3 kB / 486 MB, free: 14.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.341, allocations: 346.8 kB / 486.3 MB, free: 14.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.3412, allocations: 157.2 kB / 486.5 MB, free: 14.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.3416, allocations: 276.6 kB / 486.7 MB, free: 13.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006756/0.3423, allocations: 472.3 kB / 487.2 MB, free: 13.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3423, allocations: 4 kB / 487.2 MB, free: 13.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001126/0.3434, allocations: 0.5961 MB / 487.8 MB, free: 12.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.3434, allocations: 11.94 kB / 487.8 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.3434, allocations: 4 kB / 487.8 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007916/0.3513, allocations: 1.842 MB / 489.6 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.3518, allocations: 115.8 kB / 489.8 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.3541, allocations: 2.462 MB / 492.2 MB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003061/0.3544, allocations: 20 kB / 492.2 MB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.3544, allocations: 20 kB / 492.3 MB, free: 7.996 MB / 398.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.0002667/0.3547, allocations: 181.6 kB / 492.4 MB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.76e-05/0.3548, allocations: 39.77 kB / 492.5 MB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.3561, allocations: 0.8726 MB / 493.3 MB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.3561, allocations: 8 kB / 493.4 MB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.3561, allocations: 7.922 kB / 493.4 MB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001122/0.3572, allocations: 0.9747 MB / 494.3 MB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.3593, allocations: 1.479 MB / 495.8 MB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.3594, allocations: 8.125 kB / 495.8 MB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.3597, allocations: 67.91 kB / 495.9 MB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003416/0.3631, allocations: 0.6334 MB / 496.5 MB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/0.3631, allocations: 15.92 kB / 496.5 MB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.3643, allocations: 1.296 MB / 497.8 MB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3643, allocations: 3.938 kB / 497.8 MB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.366, allocations: 1.254 MB / 499.1 MB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3661, allocations: 39.66 kB / 499.1 MB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.3661, allocations: 12 kB / 499.1 MB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.3664, allocations: 7.938 kB / 499.2 MB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.3664, allocations: 31.98 kB / 499.2 MB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.3664, allocations: 23.98 kB / 499.2 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002453/0.3667, allocations: 211.1 kB / 499.4 MB, free: 0.5977 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3667, allocations: 0 / 499.4 MB, free: 0.5977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007504/0.3674, allocations: 235.7 kB / 499.6 MB, free: 376 kB / 398.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.002608/0.3701, allocations: 1.968 MB / 0.4899 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.3714, allocations: 0.6759 MB / 0.4905 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.3714, allocations: 0 / 0.4905 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009582/0.3723, allocations: 425.1 kB / 0.4909 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.3736, allocations: 236.8 kB / 0.4911 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006665/0.3803, allocations: 4.497 MB / 0.4955 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.3808, allocations: 0.836 MB / 0.4964 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000319/0.3811, allocations: 72.33 kB / 0.4964 GB, free: 7.414 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.3813, allocations: 159.4 kB / 0.4966 GB, free: 7.258 MB / 414.1 MB Notification: Performance of SimCode: time 1.333e-06/0.3813, allocations: 3.938 kB / 0.4966 GB, free: 7.254 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05221/0.4335, allocations: 18.03 MB / 0.5142 GB, free: 5.402 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/13.83, allocations: 11.81 kB / 0.5142 GB, free: 5.395 MB / 430.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.29657398299969]