Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002249/0.002249, allocations: 212.2 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 47.92 kB / 377.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2729, allocations: 53.37 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03911/0.312, allocations: 34 MB / 465.1 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006067/0.318, allocations: 4.179 MB / 469.3 MB, free: 316 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002967/0.3183, allocations: 7.938 kB / 469.3 MB, free: 308 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008507/0.3192, allocations: 274.2 kB / 469.5 MB, free: 32 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.3203, allocations: 0.4895 MB / 470 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004683/0.3249, allocations: 1.626 MB / 471.7 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.3267, allocations: 1.284 MB / 472.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.327, allocations: 115 kB / 473.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007816/0.3278, allocations: 494.4 kB / 473.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005965/0.3283, allocations: 414.3 kB / 473.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.165e-05/0.3284, allocations: 48 kB / 474 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.33, allocations: 0.7259 MB / 474.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.3302, allocations: 139.5 kB / 474.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.3305, allocations: 239.2 kB / 475.1 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.332, allocations: 1.063 MB / 476.1 MB, free: 9.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.332, allocations: 0 / 476.1 MB, free: 9.402 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.332, allocations: 0 / 476.1 MB, free: 9.402 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.3321, allocations: 0 / 476.1 MB, free: 9.402 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.00117/0.3332, allocations: 0.7101 MB / 476.9 MB, free: 8.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3333, allocations: 12.03 kB / 476.9 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.15e-05/0.3334, allocations: 78.7 kB / 476.9 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005588/0.3339, allocations: 80.62 kB / 477 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/0.3345, allocations: 281.8 kB / 477.3 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.3345, allocations: 29.38 kB / 477.3 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.3346, allocations: 44.31 kB / 477.4 MB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008501/0.3354, allocations: 0.6573 MB / 478 MB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.3355, allocations: 4 kB / 478 MB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.262e-05/0.3355, allocations: 20 kB / 478.1 MB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.3355, allocations: 16 kB / 478.1 MB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004787/0.336, allocations: 295.7 kB / 478.4 MB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01291/0.3489, allocations: 4.643 MB / 483 MB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004945/0.3494, allocations: 262.4 kB / 483.3 MB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.3496, allocations: 136.8 kB / 483.4 MB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009878/0.3595, allocations: 2.688 MB / 486.1 MB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.3595, allocations: 34.56 kB / 486.1 MB, free: 15.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.445e-06/0.3595, allocations: 0 / 486.1 MB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01166/0.3712, allocations: 2.315 MB / 488.4 MB, free: 12.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.3712, allocations: 55.41 kB / 488.5 MB, free: 12.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/0.3716, allocations: 312.4 kB / 488.8 MB, free: 12.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.3716, allocations: 37.7 kB / 488.8 MB, free: 12.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.3718, allocations: 224.6 kB / 489 MB, free: 12.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.3719, allocations: 174.5 kB / 489.2 MB, free: 11.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.3721, allocations: 98.27 kB / 489.3 MB, free: 11.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3722, allocations: 350.8 kB / 489.7 MB, free: 11.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.3725, allocations: 145.3 kB / 489.8 MB, free: 11.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.3729, allocations: 280.7 kB / 490.1 MB, free: 11.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006925/0.3735, allocations: 472.2 kB / 490.5 MB, free: 10.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.3735, allocations: 4 kB / 490.5 MB, free: 10.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001112/0.3747, allocations: 0.5918 MB / 491.1 MB, free: 9.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3747, allocations: 4.469 kB / 491.1 MB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.3747, allocations: 4 kB / 491.1 MB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007786/0.3825, allocations: 1.857 MB / 493 MB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/0.383, allocations: 107.8 kB / 493.1 MB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/0.3855, allocations: 2.45 MB / 495.5 MB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.3858, allocations: 19.94 kB / 495.6 MB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.882e-05/0.3859, allocations: 28.25 kB / 495.6 MB, free: 5.324 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.0002754/0.3862, allocations: 181.6 kB / 495.8 MB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.3863, allocations: 39.77 kB / 495.8 MB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.3878, allocations: 0.8686 MB / 496.7 MB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.3878, allocations: 8 kB / 496.7 MB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3878, allocations: 0 / 496.7 MB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001174/0.389, allocations: 0.9786 MB / 497.7 MB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.3913, allocations: 1.42 MB / 499.1 MB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.3913, allocations: 7.984 kB / 499.1 MB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.3916, allocations: 71.91 kB / 499.2 MB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003411/0.395, allocations: 0.618 MB / 499.8 MB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.321e-05/0.3951, allocations: 15.94 kB / 499.8 MB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.3963, allocations: 1.3 MB / 0.4893 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3963, allocations: 3.938 kB / 0.4894 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.398, allocations: 1.246 MB / 0.4906 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.3981, allocations: 43.69 kB / 0.4906 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/0.3982, allocations: 12 kB / 0.4906 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.3985, allocations: 11.94 kB / 0.4906 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.3985, allocations: 32.06 kB / 0.4907 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.3986, allocations: 23.92 kB / 0.4907 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002442/0.3988, allocations: 207.1 kB / 0.4909 GB, free: 14 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3988, allocations: 0 / 0.4909 GB, free: 14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007729/0.3996, allocations: 231.7 kB / 0.4911 GB, free: 13.78 MB / 414.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.002713/0.4023, allocations: 1.982 MB / 0.493 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.4037, allocations: 0.6759 MB / 0.4937 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4037, allocations: 4 kB / 0.4937 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009891/0.4047, allocations: 424.3 kB / 0.4941 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.406, allocations: 232.9 kB / 0.4943 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007084/0.4131, allocations: 4.497 MB / 0.4987 GB, free: 5.738 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.4134, allocations: 237.3 kB / 0.499 GB, free: 5.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003237/0.4137, allocations: 72.33 kB / 0.499 GB, free: 5.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.4139, allocations: 155.4 kB / 0.4992 GB, free: 5.258 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4139, allocations: 0 / 0.4992 GB, free: 5.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05477/0.4687, allocations: 18.52 MB / 0.5173 GB, free: 3.043 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.66, allocations: 6.75 kB / 0.5173 GB, free: 3.039 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.203959876671433]