Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",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.001876/0.001876, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.002352/0.002353, allocations: 192 kB / 18.51 MB, free: 4.508 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.802/2.802, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001816/0.001816, allocations: 55.92 kB / 280.8 MB, free: 3.066 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1811, allocations: 46.63 MB / 327.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.6326/0.8138, allocations: 144 MB / 471.4 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0048/0.8187, allocations: 1.725 MB / 473.1 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006785/0.8194, allocations: 7.938 kB / 473.1 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.8208, allocations: 182.9 kB / 473.3 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.8223, allocations: 326.3 kB / 473.6 MB, free: 4.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.8247, allocations: 412.7 kB / 474 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001969/0.8267, allocations: 0.8522 MB / 474.9 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004225/0.8271, allocations: 108.6 kB / 475 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.8285, allocations: 390.7 kB / 475.4 MB, free: 2.984 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000797/0.8293, allocations: 326.9 kB / 475.7 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.8294, allocations: 32 kB / 475.7 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000705/0.8302, allocations: 139.7 kB / 475.8 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.8304, allocations: 95.72 kB / 475.9 MB, free: 2.402 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003726/0.8308, allocations: 183.3 kB / 476.1 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.8319, allocations: 496.3 kB / 476.6 MB, free: 1.738 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.8319, allocations: 0 / 476.6 MB, free: 1.738 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.8319, allocations: 0 / 476.6 MB, free: 1.738 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.832, allocations: 1.312 kB / 476.6 MB, free: 1.738 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00161/0.8336, allocations: 0.5934 MB / 477.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.92e-05/0.8337, allocations: 12.03 kB / 477.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.8338, allocations: 58.73 kB / 477.3 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005996/0.8344, allocations: 45.42 kB / 477.3 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005678/0.835, allocations: 283.7 kB / 477.6 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.8351, allocations: 16.94 kB / 477.6 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.109e-05/0.8351, allocations: 28.5 kB / 477.6 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008386/0.836, allocations: 309.3 kB / 477.9 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.836, allocations: 0 / 477.9 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.298e-05/0.8361, allocations: 12 kB / 477.9 MB, free: 296 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.8361, allocations: 11.98 kB / 478 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005806/0.8367, allocations: 206.1 kB / 478.2 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.8398, allocations: 1.296 MB / 479.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006457/0.8405, allocations: 194.6 kB / 479.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.8407, allocations: 92.81 kB / 479.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/0.8411, allocations: 170.2 kB / 479.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.8411, allocations: 38.55 kB / 479.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 3.456e-06/0.8411, allocations: 0 / 479.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.004412/0.8456, allocations: 1.03 MB / 481 MB, free: 12.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.8456, allocations: 55.41 kB / 481 MB, free: 12.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/0.8462, allocations: 254.6 kB / 481.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/0.8462, allocations: 37.69 kB / 481.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.8465, allocations: 176.2 kB / 481.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.8466, allocations: 90.66 kB / 481.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.8468, allocations: 77.38 kB / 481.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002536/0.8471, allocations: 338.8 kB / 482 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.8473, allocations: 75.97 kB / 482.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003909/0.8478, allocations: 187.7 kB / 482.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006878/0.8485, allocations: 275.8 kB / 482.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.8485, allocations: 0 / 482.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001191/0.8497, allocations: 447.8 kB / 482.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.8497, allocations: 4 kB / 482.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.8498, allocations: 4.406 kB / 483 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002661/0.85, allocations: 45.7 kB / 483 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005955/0.8507, allocations: 75.91 kB / 483.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003599/0.8543, allocations: 2.762 MB / 485.8 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004886/0.8548, allocations: 12.16 kB / 485.8 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.8549, allocations: 16 kB / 485.9 MB, free: 7.645 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003739/0.8553, allocations: 169.7 kB / 486 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.8554, allocations: 31.62 kB / 486.1 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.8564, allocations: 363.3 kB / 486.4 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.8565, allocations: 4 kB / 486.4 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8565, allocations: 0 / 486.4 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001088/0.8576, allocations: 0.6109 MB / 487 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.8593, allocations: 0.7625 MB / 487.8 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.8594, allocations: 4.906 kB / 487.8 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004711/0.8599, allocations: 51.97 kB / 487.8 MB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.86, allocations: 20.84 kB / 487.9 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.8601, allocations: 4 kB / 487.9 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.8617, allocations: 1.386 MB / 489.3 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.8617, allocations: 0 / 489.3 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.8628, allocations: 0.5147 MB / 489.8 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.863, allocations: 108.7 kB / 489.9 MB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.266e-05/0.8631, allocations: 11.94 kB / 489.9 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.8635, allocations: 4 kB / 489.9 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/0.8636, allocations: 20.03 kB / 489.9 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.813e-05/0.8636, allocations: 19.98 kB / 489.9 MB, free: 3.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003452/0.864, allocations: 178 kB / 490.1 MB, free: 2.977 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.864, allocations: 0 / 490.1 MB, free: 2.977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000967/0.865, allocations: 104 kB / 490.2 MB, free: 2.875 MB / 382.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): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002065/0.8671, allocations: 1.082 MB / 491.3 MB, free: 1.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.8684, allocations: 465.6 kB / 491.7 MB, free: 1.262 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.8684, allocations: 4 kB / 491.7 MB, free: 1.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.8689, allocations: 218.9 kB / 492 MB, free: 1.031 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.8706, allocations: 163 kB / 492.1 MB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007031/0.8776, allocations: 3.268 MB / 495.4 MB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000737/0.8784, allocations: 0.7643 MB / 496.2 MB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006619/0.8791, allocations: 58.94 kB / 496.2 MB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.8795, allocations: 87.41 kB / 496.3 MB, free: 12.46 MB / 398.1 MB Notification: Performance of SimCode: time 2.024e-06/0.8795, allocations: 0 / 496.3 MB, free: 12.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06481/0.9443, allocations: 9.147 MB / 0.4936 GB, free: 3.238 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.39/20.33, allocations: 15.95 kB / 0.4936 GB, free: 3.223 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_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_Tests_MediaTestModels_Air_SimpleAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches