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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",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.002041/0.002041, allocations: 102.9 kB / 17.58 MB, free: 5.414 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.002428/0.002428, allocations: 191.9 kB / 18.51 MB, free: 4.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.524/2.524, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.002618/0.002618, allocations: 60.12 kB / 280.7 MB, free: 3.09 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1706, allocations: 46.63 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.07682/0.2474, allocations: 37.44 MB / 364.8 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.2586, allocations: 4.572 MB / 369.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.2597, allocations: 11.94 kB / 369.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.2618, allocations: 290.2 kB / 369.7 MB, free: 9.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.2641, allocations: 489.3 kB / 370.2 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01037/0.2745, allocations: 1.634 MB / 371.8 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003304/0.2778, allocations: 1.269 MB / 373.1 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006779/0.2786, allocations: 170.5 kB / 373.2 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.2802, allocations: 470.4 kB / 373.7 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.2816, allocations: 406.4 kB / 374.1 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002481/0.2819, allocations: 47.94 kB / 374.1 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003781/0.2857, allocations: 0.7571 MB / 374.9 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003382/0.2861, allocations: 127.6 kB / 375 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000629/0.2867, allocations: 282.9 kB / 375.3 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002495/0.2892, allocations: 1.044 MB / 376.3 MB, free: 3.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.996e-06/0.2892, allocations: 0 / 376.3 MB, free: 3.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.2893, allocations: 0 / 376.3 MB, free: 3.238 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.2893, allocations: 0 / 376.3 MB, free: 3.238 MB / 318.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.001885/0.2912, allocations: 0.7681 MB / 377.1 MB, free: 2.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.7e-05/0.2913, allocations: 15.89 kB / 377.1 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.2914, allocations: 78.72 kB / 377.2 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009201/0.2923, allocations: 80.33 kB / 377.3 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000633/0.293, allocations: 339.3 kB / 377.6 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/0.293, allocations: 29.38 kB / 377.6 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.142e-05/0.2931, allocations: 44.31 kB / 377.7 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.2943, allocations: 475.5 kB / 378.1 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.2943, allocations: 3.984 kB / 378.2 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.729e-05/0.2944, allocations: 19.94 kB / 378.2 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.2944, allocations: 12 kB / 378.2 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007562/0.2952, allocations: 311.6 kB / 378.5 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3088/0.6041, allocations: 6.731 MB / 385.2 MB, free: 54.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008001/0.6049, allocations: 268.2 kB / 385.5 MB, free: 54.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004052/0.6053, allocations: 150.2 kB / 385.6 MB, free: 54.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0168/0.6222, allocations: 3.9 MB / 389.5 MB, free: 52.53 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/0.6223, allocations: 36.81 kB / 389.6 MB, free: 52.49 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 3.797e-06/0.6223, allocations: 1.25 kB / 389.6 MB, free: 52.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.02127/0.6436, allocations: 2.457 MB / 392 MB, free: 51.19 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.6437, allocations: 55.69 kB / 392.1 MB, free: 51.12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006817/0.6444, allocations: 304.2 kB / 392.4 MB, free: 50.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.251e-05/0.6445, allocations: 33.14 kB / 392.4 MB, free: 50.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.6447, allocations: 231.9 kB / 392.6 MB, free: 50.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.645, allocations: 159.7 kB / 392.8 MB, free: 50.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00032/0.6453, allocations: 97.73 kB / 392.9 MB, free: 50.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.6455, allocations: 350.5 kB / 393.2 MB, free: 50.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/0.646, allocations: 147.8 kB / 393.4 MB, free: 50.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006517/0.6467, allocations: 280.1 kB / 393.6 MB, free: 49.85 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.6478, allocations: 474.1 kB / 394.1 MB, free: 49.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/0.6478, allocations: 1.125 kB / 394.1 MB, free: 49.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001812/0.6496, allocations: 0.5935 MB / 394.7 MB, free: 49.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.6497, allocations: 5.938 kB / 394.7 MB, free: 49.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.6497, allocations: 4.062 kB / 394.7 MB, free: 49.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01337/0.6631, allocations: 1.85 MB / 396.6 MB, free: 48.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000815/0.664, allocations: 113.4 kB / 396.7 MB, free: 48.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/0.6667, allocations: 2.565 MB / 399.2 MB, free: 45.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000609/0.6673, allocations: 11.94 kB / 399.2 MB, free: 45.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.99e-05/0.6674, allocations: 23.81 kB / 399.3 MB, free: 45.77 MB / 318.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.0003771/0.6678, allocations: 183.1 kB / 399.4 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.668, allocations: 39.31 kB / 399.5 MB, free: 45.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.6698, allocations: 0.8555 MB / 400.3 MB, free: 45.08 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.6698, allocations: 15.81 kB / 400.4 MB, free: 45.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6698, allocations: 0 / 400.4 MB, free: 45.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001342/0.6712, allocations: 0.9534 MB / 401.3 MB, free: 44.37 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/0.674, allocations: 1.488 MB / 402.8 MB, free: 43.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.674, allocations: 4 kB / 402.8 MB, free: 43.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004658/0.6745, allocations: 75.91 kB / 402.9 MB, free: 43.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005102/0.6796, allocations: 0.6289 MB / 403.5 MB, free: 42.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.756e-05/0.6797, allocations: 17.31 kB / 403.5 MB, free: 42.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.6809, allocations: 1.284 MB / 404.8 MB, free: 41.1 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6809, allocations: 0 / 404.8 MB, free: 41.1 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/0.6832, allocations: 1.223 MB / 406 MB, free: 39.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.6835, allocations: 116.6 kB / 406.1 MB, free: 39.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.6837, allocations: 8 kB / 406.2 MB, free: 39.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004688/0.6842, allocations: 12 kB / 406.2 MB, free: 39.69 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.6843, allocations: 31.95 kB / 406.2 MB, free: 39.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.337e-05/0.6843, allocations: 8 kB / 406.2 MB, free: 39.65 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003775/0.6847, allocations: 221.9 kB / 406.4 MB, free: 39.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6848, allocations: 0 / 406.4 MB, free: 39.44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001471/0.6862, allocations: 233.1 kB / 406.6 MB, free: 39.22 MB / 318.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.003425/0.6897, allocations: 1.939 MB / 408.6 MB, free: 37.29 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002187/0.6919, allocations: 0.7123 MB / 409.3 MB, free: 36.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.6919, allocations: 0 / 409.3 MB, free: 36.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.6932, allocations: 433.1 kB / 409.7 MB, free: 36.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/0.6954, allocations: 246.9 kB / 410 MB, free: 35.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009231/0.7047, allocations: 4.531 MB / 414.5 MB, free: 31.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.7051, allocations: 0.8401 MB / 415.3 MB, free: 30.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005971/0.7057, allocations: 75.06 kB / 415.4 MB, free: 30.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/0.706, allocations: 159.4 kB / 415.6 MB, free: 30.12 MB / 318.1 MB Notification: Performance of SimCode: time 8.81e-07/0.7061, allocations: 0 / 415.6 MB, free: 30.12 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1533/0.8594, allocations: 17.16 MB / 432.7 MB, free: 12.87 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.31/21.17, allocations: 5.219 kB / 432.7 MB, free: 12.87 MB / 318.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/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