Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 109.2 kB / 17.73 MB, free: 5.316 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.001422/0.001422, allocations: 188.2 kB / 18.66 MB, free: 4.387 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.21 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.001429/0.001429, allocations: 51.92 kB / 328 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09821/0.09965, allocations: 46.62 MB / 374.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2235/0.3232, allocations: 27.05 MB / 401.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005467/0.3287, allocations: 4.155 MB / 405.9 MB, free: 9.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003985/0.3291, allocations: 11.78 kB / 405.9 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007956/0.33, allocations: 202.7 kB / 406.1 MB, free: 9.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009169/0.3309, allocations: 345.8 kB / 406.4 MB, free: 8.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00519/0.3361, allocations: 1.481 MB / 407.9 MB, free: 8.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001491/0.3376, allocations: 0.8794 MB / 408.8 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002597/0.3379, allocations: 108.4 kB / 408.9 MB, free: 7.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007248/0.3452, allocations: 4.058 MB / 412.9 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004581/0.3457, allocations: 275.5 kB / 413.2 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.113e-05/0.3457, allocations: 32.94 kB / 413.2 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.3481, allocations: 0.7271 MB / 414 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.3483, allocations: 89.27 kB / 414.1 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000362/0.3487, allocations: 194.1 kB / 414.2 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.3504, allocations: 0.8521 MB / 415.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3505, allocations: 0 / 415.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.3505, allocations: 0 / 415.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.3505, allocations: 4 kB / 415.1 MB, free: 4.703 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001213/0.3517, allocations: 0.6587 MB / 415.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.3518, allocations: 9.938 kB / 415.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.776e-05/0.3519, allocations: 64.56 kB / 415.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005095/0.3524, allocations: 60.5 kB / 415.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004997/0.3529, allocations: 295 kB / 416.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.353, allocations: 19.75 kB / 416.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.353, allocations: 26.66 kB / 416.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005632/0.3536, allocations: 344.9 kB / 416.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.3536, allocations: 1.375 kB / 416.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.3536, allocations: 12.09 kB / 416.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.3537, allocations: 6.844 kB / 416.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/0.354, allocations: 216.1 kB / 416.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0135/0.3676, allocations: 5.902 MB / 422.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.3679, allocations: 181.2 kB / 422.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.3681, allocations: 90.16 kB / 423 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/0.3786, allocations: 3.891 MB / 426.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.3787, allocations: 38.56 kB / 426.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.484e-06/0.3787, allocations: 0 / 426.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006356/0.3851, allocations: 1.421 MB / 428.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.3852, allocations: 55.41 kB / 428.4 MB, free: 9.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.3855, allocations: 262.5 kB / 428.6 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.3855, allocations: 29.7 kB / 428.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.3857, allocations: 188.4 kB / 428.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.963e-05/0.3858, allocations: 95.2 kB / 428.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-05/0.3859, allocations: 69.66 kB / 429 MB, free: 8.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.386, allocations: 342.8 kB / 429.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.3862, allocations: 91.75 kB / 429.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.3864, allocations: 190.9 kB / 429.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.3868, allocations: 299 kB / 429.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3868, allocations: 0 / 429.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006801/0.3875, allocations: 402.8 kB / 430.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3875, allocations: 4 kB / 430.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3876, allocations: 4 kB / 430.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004071/0.3916, allocations: 0.9342 MB / 431.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.3919, allocations: 71.84 kB / 431.3 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.3935, allocations: 1.975 MB / 433.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.3938, allocations: 15.66 kB / 433.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.3938, allocations: 12 kB / 433.3 MB, free: 3.996 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001987/0.394, allocations: 157.7 kB / 433.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.3941, allocations: 31.75 kB / 433.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007015/0.3948, allocations: 498.8 kB / 434 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.3948, allocations: 8.016 kB / 434 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3948, allocations: 4 kB / 434 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006368/0.3955, allocations: 0.7166 MB / 434.7 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.3968, allocations: 0.9495 MB / 435.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3968, allocations: 0 / 435.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.397, allocations: 52 kB / 435.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001663/0.3987, allocations: 312.3 kB / 436 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.3987, allocations: 11.98 kB / 436 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004953/0.3992, allocations: 0.6421 MB / 436.7 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3992, allocations: 0 / 436.7 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009136/0.4002, allocations: 0.7223 MB / 437.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.4003, allocations: 108.9 kB / 437.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.4003, allocations: 4 kB / 437.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.4005, allocations: 8.125 kB / 437.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.4006, allocations: 15.98 kB / 437.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.4006, allocations: 15.98 kB / 437.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.4008, allocations: 178 kB / 437.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4008, allocations: 0 / 437.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000725/0.4015, allocations: 191.7 kB / 437.9 MB, free: 15.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001773/0.4033, allocations: 1.429 MB / 439.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000822/0.4041, allocations: 455.3 kB / 439.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4042, allocations: 4 kB / 439.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005062/0.4047, allocations: 239.7 kB / 440 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009788/0.4057, allocations: 173.2 kB / 440.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/0.4098, allocations: 3.342 MB / 443.5 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.4102, allocations: 0.7724 MB / 444.3 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002302/0.4105, allocations: 50.95 kB / 444.3 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.4106, allocations: 107.4 kB / 444.4 MB, free: 8.367 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4106, allocations: 0 / 444.4 MB, free: 8.367 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03845/0.4491, allocations: 13.43 MB / 457.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.36, allocations: 15.98 kB / 457.9 MB, free: 10.85 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches