Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.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.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O",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.001767/0.001766, allocations: 97.66 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.002146/0.002147, 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.585/2.585, 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.00271/0.00271, allocations: 55.92 kB / 280.7 MB, free: 3.098 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1749, allocations: 46.64 MB / 327.4 MB, free: 4.395 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.6804/0.8554, allocations: 150.4 MB / 477.8 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003506/0.859, allocations: 1.523 MB / 479.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.885e-05/0.8592, allocations: 0 / 479.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.8595, allocations: 23.83 kB / 479.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.8614, allocations: 325.8 kB / 479.7 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.8618, allocations: 64.23 kB / 479.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.8621, allocations: 75.55 kB / 479.8 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.539e-05/0.8621, allocations: 5.828 kB / 479.8 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.8624, allocations: 35.84 kB / 479.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.8625, allocations: 27.86 kB / 479.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.8626, allocations: 4 kB / 479.9 MB, free: 14.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.8641, allocations: 355.5 kB / 480.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.752e-05/0.8642, allocations: 7.922 kB / 480.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.834e-05/0.8643, allocations: 31.81 kB / 480.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.8654, allocations: 295.5 kB / 480.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.8655, allocations: 3.938 kB / 480.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.8655, allocations: 1.781 kB / 480.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.8655, allocations: 4 kB / 480.6 MB, free: 13.76 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001598/0.8671, allocations: 432 kB / 481 MB, free: 13.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.585e-05/0.8672, allocations: 12.03 kB / 481 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.65e-05/0.8673, allocations: 42.75 kB / 481 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01234/0.8796, allocations: 456.7 kB / 481.5 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.88, allocations: 168.3 kB / 481.6 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.921e-05/0.88, allocations: 11.94 kB / 481.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.8802, allocations: 4 kB / 481.7 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.8818, allocations: 301.2 kB / 482 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.8819, allocations: 0 / 482 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/0.882, allocations: 4 kB / 482 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.882, allocations: 4 kB / 482 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.8837, allocations: 271.8 kB / 482.2 MB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.8855, allocations: 433.3 kB / 482.6 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.8875, allocations: 207 kB / 482.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000406/0.8879, allocations: 72.81 kB / 482.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.888, allocations: 0 / 482.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.888, allocations: 38.56 kB / 483 MB, free: 11.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 3.166e-06/0.888, allocations: 3.938 kB / 483 MB, free: 11.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.003386/0.8915, allocations: 416.8 kB / 483.4 MB, free: 10.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.8916, allocations: 63.39 kB / 483.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.8917, allocations: 93.86 kB / 483.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.204e-05/0.8918, allocations: 33.7 kB / 483.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.349e-05/0.8919, allocations: 99.88 kB / 483.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.892, allocations: 63.09 kB / 483.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.8922, allocations: 45.7 kB / 483.8 MB, free: 10.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.8924, allocations: 318.8 kB / 484.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005522/0.893, allocations: 79.88 kB / 484.2 MB, free: 9.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005947/0.8936, allocations: 120.2 kB / 484.3 MB, free: 9.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.8947, allocations: 192.2 kB / 484.5 MB, free: 9.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.8948, allocations: 3.938 kB / 484.5 MB, free: 9.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001353/0.8961, allocations: 249.2 kB / 484.7 MB, free: 9.348 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.8962, allocations: 12.12 kB / 484.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.8962, allocations: 0 / 484.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.8962, allocations: 4 kB / 484.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007403/0.897, allocations: 47.95 kB / 484.8 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.897, allocations: 0 / 484.8 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005/0.8975, allocations: 15.98 kB / 484.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-05/0.8976, allocations: 11.98 kB / 484.8 MB, free: 9.258 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001885/0.8978, allocations: 129.7 kB / 484.9 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.61e-05/0.898, allocations: 8.094 kB / 484.9 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.8996, allocations: 279.5 kB / 485.2 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.8996, allocations: 4 kB / 485.2 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.8997, allocations: 0 / 485.2 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.8997, allocations: 7.922 kB / 485.2 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.9021, allocations: 0.5789 MB / 485.8 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.9022, allocations: 0 / 485.8 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000679/0.9029, allocations: 48.77 kB / 485.8 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.9029, allocations: 4.062 kB / 485.8 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/0.903, allocations: 11.98 kB / 485.9 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.903, allocations: 4 kB / 485.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.903, allocations: 3.938 kB / 485.9 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.9043, allocations: 321 kB / 486.2 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/0.9044, allocations: 85.02 kB / 486.3 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.9045, allocations: 11.81 kB / 486.3 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000532/0.9051, allocations: 11.97 kB / 486.3 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.9051, allocations: 23.86 kB / 486.3 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.9052, allocations: 12 kB / 486.3 MB, free: 7.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.427e-05/0.9053, allocations: 91.25 kB / 486.4 MB, free: 7.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.9053, allocations: 0 / 486.4 MB, free: 7.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007329/0.9061, allocations: 47.94 kB / 486.5 MB, free: 7.492 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001955/0.908, allocations: 0.8779 MB / 487.3 MB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.9094, allocations: 210.9 kB / 487.5 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.9094, allocations: 0 / 487.5 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000616/0.91, allocations: 104.8 kB / 487.6 MB, free: 6.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009635/0.911, allocations: 40.59 kB / 487.7 MB, free: 6.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.9129, allocations: 316 kB / 488 MB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.9134, allocations: 0.6928 MB / 488.7 MB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009251/0.9143, allocations: 56.75 kB / 488.7 MB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/0.9147, allocations: 39.41 kB / 488.8 MB, free: 5.07 MB / 382.1 MB Notification: Performance of SimCode: time 3.947e-06/0.9147, allocations: 0 / 488.8 MB, free: 5.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04389/0.9586, allocations: 4.278 MB / 493.1 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.3, allocations: 20.56 kB / 493.1 MB, free: 0.7148 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches