Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00179/0.00179, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001999/0.001999, allocations: 204.7 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 55.91 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2505, allocations: 50.54 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03979/0.2903, allocations: 37.52 MB / 446.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006216/0.2966, allocations: 4.584 MB / 450.9 MB, free: 7.281 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005374/0.2972, allocations: 4 kB / 450.9 MB, free: 7.277 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.2983, allocations: 294.2 kB / 451.2 MB, free: 6.988 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.2995, allocations: 485.3 kB / 451.6 MB, free: 6.512 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005043/0.3046, allocations: 1.655 MB / 453.3 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001804/0.3064, allocations: 1.272 MB / 454.6 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/0.3068, allocations: 158.7 kB / 454.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.3078, allocations: 470.5 kB / 455.2 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007808/0.3086, allocations: 402.4 kB / 455.6 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.3087, allocations: 44 kB / 455.6 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.3109, allocations: 0.7571 MB / 456.4 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.3111, allocations: 131.6 kB / 456.5 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005748/0.3117, allocations: 282.9 kB / 456.8 MB, free: 1.359 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002222/0.314, allocations: 1.052 MB / 457.8 MB, free: 312 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.314, allocations: 0 / 457.8 MB, free: 312 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.314, allocations: 4 kB / 457.8 MB, free: 308 kB / 366.1 MB Notification: Performance of Transformations before backend: time 2.727e-05/0.314, allocations: 3.984 kB / 457.8 MB, free: 304 kB / 366.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.001483/0.3155, allocations: 0.787 MB / 458.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3156, allocations: 8.031 kB / 458.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/0.3157, allocations: 82.7 kB / 458.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006109/0.3163, allocations: 80.62 kB / 458.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005752/0.3169, allocations: 343.6 kB / 459.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.3169, allocations: 29.38 kB / 459.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.62e-05/0.317, allocations: 43.94 kB / 459.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007194/0.3177, allocations: 463.6 kB / 459.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.3178, allocations: 4 kB / 459.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.449e-05/0.3178, allocations: 20 kB / 459.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.3178, allocations: 12 kB / 459.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/0.3184, allocations: 307.6 kB / 460 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01454/0.3329, allocations: 6.746 MB / 466.7 MB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/0.3335, allocations: 277.5 kB / 467 MB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.3338, allocations: 151 kB / 467.2 MB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/0.3446, allocations: 3.893 MB / 471 MB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.3447, allocations: 38.55 kB / 471.1 MB, free: 2.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.244e-06/0.3447, allocations: 0 / 471.1 MB, free: 2.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01203/0.3567, allocations: 2.476 MB / 473.6 MB, free: 15.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.3568, allocations: 55.41 kB / 473.6 MB, free: 15.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.3572, allocations: 307.2 kB / 473.9 MB, free: 15.08 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.3572, allocations: 37.7 kB / 474 MB, free: 15.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.3574, allocations: 228.5 kB / 474.2 MB, free: 14.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.3576, allocations: 166.6 kB / 474.3 MB, free: 14.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.3577, allocations: 98.2 kB / 474.4 MB, free: 14.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3579, allocations: 350.8 kB / 474.8 MB, free: 14.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.3582, allocations: 153.1 kB / 474.9 MB, free: 14.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.3585, allocations: 275.7 kB / 475.2 MB, free: 13.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006857/0.3592, allocations: 476.2 kB / 475.7 MB, free: 13.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3592, allocations: 0 / 475.7 MB, free: 13.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001108/0.3603, allocations: 0.5922 MB / 476.3 MB, free: 12.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3604, allocations: 8 kB / 476.3 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3604, allocations: 4 kB / 476.3 MB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008369/0.3688, allocations: 1.844 MB / 478.1 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.3692, allocations: 111.8 kB / 478.2 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.3716, allocations: 2.564 MB / 480.8 MB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.372, allocations: 16 kB / 480.8 MB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.479e-05/0.372, allocations: 20 kB / 480.8 MB, free: 7.852 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.000261/0.3723, allocations: 181.6 kB / 481 MB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.931e-05/0.3724, allocations: 39.77 kB / 481 MB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.3736, allocations: 0.8593 MB / 481.9 MB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.3736, allocations: 7.984 kB / 481.9 MB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.3736, allocations: 0 / 481.9 MB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001103/0.3748, allocations: 0.9612 MB / 482.9 MB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.3769, allocations: 1.486 MB / 484.3 MB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.377, allocations: 4 kB / 484.3 MB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.3773, allocations: 75.89 kB / 484.4 MB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0034/0.3807, allocations: 0.6179 MB / 485 MB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.3807, allocations: 19.92 kB / 485.1 MB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.3818, allocations: 1.28 MB / 486.3 MB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3818, allocations: 0 / 486.3 MB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.3835, allocations: 1.229 MB / 487.6 MB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.3836, allocations: 112.8 kB / 487.7 MB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.3837, allocations: 19.97 kB / 487.7 MB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.3839, allocations: 4 kB / 487.7 MB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.384, allocations: 31.97 kB / 487.7 MB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.384, allocations: 19.98 kB / 487.8 MB, free: 0.6484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002337/0.3842, allocations: 209.9 kB / 488 MB, free: 452 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3843, allocations: 0 / 488 MB, free: 452 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000753/0.385, allocations: 235.7 kB / 488.2 MB, free: 216 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.002514/0.3875, allocations: 1.947 MB / 490.1 MB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.3888, allocations: 0.6948 MB / 490.8 MB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3889, allocations: 0 / 490.8 MB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009489/0.3898, allocations: 444.2 kB / 491.3 MB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.391, allocations: 240.5 kB / 491.5 MB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006121/0.3971, allocations: 4.477 MB / 496 MB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.3976, allocations: 0.8363 MB / 496.8 MB, free: 7.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000282/0.3979, allocations: 72.34 kB / 496.9 MB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.3981, allocations: 163.4 kB / 497 MB, free: 7.086 MB / 414.1 MB Notification: Performance of SimCode: time 9.91e-07/0.3981, allocations: 0 / 497 MB, free: 7.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05136/0.4495, allocations: 17.36 MB / 0.5023 GB, free: 5.859 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.32, allocations: 3.938 kB / 0.5024 GB, free: 5.855 MB / 430.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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.000404 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches