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) 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 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 104 kB / 16.92 MB, free: 5.793 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.002065/0.002065, allocations: 191.3 kB / 17.85 MB, free: 5.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.396/2.396, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 48.83 kB / 300.7 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2192, allocations: 49.45 MB / 350.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.346/0.5652, allocations: 37.42 MB / 387.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008864/0.5742, allocations: 4.578 MB / 392.2 MB, free: 3.414 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006302/0.5748, allocations: 9.562 kB / 392.2 MB, free: 3.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.5761, allocations: 296.3 kB / 392.5 MB, free: 3.238 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.5777, allocations: 476.6 kB / 392.9 MB, free: 2.949 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008408/0.5861, allocations: 1.654 MB / 394.6 MB, free: 2.094 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00269/0.5888, allocations: 1.264 MB / 395.8 MB, free: 1.512 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004554/0.5893, allocations: 172.3 kB / 396 MB, free: 1.434 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.5903, allocations: 471.7 kB / 396.5 MB, free: 1.238 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007017/0.5911, allocations: 403.6 kB / 396.9 MB, free: 1.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.5912, allocations: 45.09 kB / 396.9 MB, free: 1.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002575/0.5938, allocations: 0.7457 MB / 397.7 MB, free: 0.875 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.594, allocations: 138.8 kB / 397.8 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004085/0.5944, allocations: 282.5 kB / 398.1 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.5964, allocations: 1.044 MB / 399.1 MB, free: 104 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.5964, allocations: 0 / 399.1 MB, free: 104 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5964, allocations: 0.9062 kB / 399.1 MB, free: 104 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.5964, allocations: 0 / 399.1 MB, free: 104 kB / 302.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.001911/0.5984, allocations: 0.7775 MB / 399.9 MB, free: 15.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.007e-05/0.5985, allocations: 12.8 kB / 399.9 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001751/0.5987, allocations: 84.36 kB / 400 MB, free: 15.37 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.5998, allocations: 77.62 kB / 400.1 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008494/0.6007, allocations: 338.7 kB / 400.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/0.6008, allocations: 29.41 kB / 400.4 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.221e-05/0.6009, allocations: 39.22 kB / 400.5 MB, free: 14.99 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.6019, allocations: 467.9 kB / 400.9 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.98e-05/0.602, allocations: 5.312 kB / 400.9 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.756e-05/0.6021, allocations: 21.05 kB / 400.9 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.6021, allocations: 9.656 kB / 400.9 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007152/0.6029, allocations: 307.7 kB / 401.2 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01788/0.6208, allocations: 6.746 MB / 408 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008153/0.6216, allocations: 271.9 kB / 408.3 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004111/0.6221, allocations: 153.8 kB / 408.4 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01958/0.6417, allocations: 3.888 MB / 412.3 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/0.6418, allocations: 49.38 kB / 412.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 3.557e-06/0.6418, allocations: 0 / 412.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01726/0.6591, allocations: 2.458 MB / 414.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.6592, allocations: 55.41 kB / 414.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.6596, allocations: 303.2 kB / 415.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.22e-05/0.6597, allocations: 37.7 kB / 415.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.6598, allocations: 220 kB / 415.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.66, allocations: 161.7 kB / 415.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.6602, allocations: 102.2 kB / 415.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.6604, allocations: 346.8 kB / 416 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.6607, allocations: 153.1 kB / 416.2 MB, free: 1.965 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004794/0.6612, allocations: 279.7 kB / 416.4 MB, free: 1.645 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007949/0.662, allocations: 472.2 kB / 416.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.662, allocations: 0 / 416.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001189/0.6632, allocations: 0.5956 MB / 417.5 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.6632, allocations: 7.938 kB / 417.5 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.6632, allocations: 4 kB / 417.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008515/0.6717, allocations: 1.854 MB / 419.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/0.6722, allocations: 103.9 kB / 419.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00264/0.6749, allocations: 2.55 MB / 422 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006089/0.6755, allocations: 16 kB / 422 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.849e-05/0.6756, allocations: 28.11 kB / 422 MB, free: 11.77 MB / 334.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.0004017/0.6761, allocations: 173.7 kB / 422.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.6763, allocations: 35.62 kB / 422.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.6783, allocations: 0.859 MB / 423.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.452e-05/0.6784, allocations: 11.98 kB / 423.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6784, allocations: 0 / 423.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001727/0.6801, allocations: 0.9612 MB / 424.1 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/0.6835, allocations: 1.496 MB / 425.6 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.6836, allocations: 0 / 425.6 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/0.6841, allocations: 79.89 kB / 425.7 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005478/0.6896, allocations: 0.6256 MB / 426.3 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-05/0.6897, allocations: 15.92 kB / 426.3 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.6912, allocations: 1.281 MB / 427.6 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.6912, allocations: 3.984 kB / 427.6 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.6938, allocations: 1.226 MB / 428.8 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.6941, allocations: 116.5 kB / 428.9 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.6942, allocations: 12 kB / 428.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.6946, allocations: 15.97 kB / 428.9 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/0.6947, allocations: 23.97 kB / 429 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.986e-05/0.6948, allocations: 19.98 kB / 429 MB, free: 4.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003795/0.6952, allocations: 213.9 kB / 429.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6952, allocations: 0 / 429.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001479/0.6967, allocations: 231.9 kB / 429.4 MB, free: 4.117 MB / 334.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.003959/0.7007, allocations: 1.932 MB / 431.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002308/0.703, allocations: 0.7142 MB / 432.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.703, allocations: 8 kB / 432.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001479/0.7045, allocations: 428 kB / 432.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.7067, allocations: 233.7 kB / 432.7 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00737/0.7141, allocations: 4.527 MB / 437.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/0.7146, allocations: 0.8324 MB / 438.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005023/0.7151, allocations: 72.33 kB / 438.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.7154, allocations: 163.4 kB / 438.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of SimCode: time 1.102e-06/0.7154, allocations: 0 / 438.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05311/0.7685, allocations: 17.18 MB / 455.5 MB, free: 9.941 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.14/17.91, allocations: 15.34 kB / 455.5 MB, free: 9.93 MB / 366.1 MB (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.000404 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) 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) Reference file matches