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.001001/0.001001, allocations: 91.95 kB / 17.3 MB, free: 5.988 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.0009311/0.0009309, allocations: 173.3 kB / 18.2 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004382/0.0004382, allocations: 12 kB / 281.5 MB, free: 3.324 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07973/0.08018, allocations: 47.58 MB / 329 MB, free: 3.672 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2866/0.3668, allocations: 146.3 MB / 475.3 MB, free: 7.305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.3686, allocations: 1.541 MB / 476.9 MB, free: 5.766 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.263e-05/0.3686, allocations: 0 / 476.9 MB, free: 5.766 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.3688, allocations: 22.52 kB / 476.9 MB, free: 5.746 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006304/0.3694, allocations: 276.3 kB / 477.2 MB, free: 5.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.3696, allocations: 49.05 kB / 477.2 MB, free: 5.434 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.698e-05/0.3698, allocations: 79.59 kB / 477.3 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.3698, allocations: 9.812 kB / 477.3 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.958e-05/0.3699, allocations: 23.88 kB / 477.3 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.37, allocations: 35.78 kB / 477.4 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.805e-06/0.37, allocations: 0 / 477.4 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006087/0.3706, allocations: 371.4 kB / 477.7 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.3706, allocations: 4 kB / 477.7 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.3707, allocations: 53.58 kB / 477.8 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004122/0.3711, allocations: 295.4 kB / 478.1 MB, free: 4.574 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3711, allocations: 4 kB / 478.1 MB, free: 4.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3711, allocations: 0 / 478.1 MB, free: 4.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.3711, allocations: 0 / 478.1 MB, free: 4.57 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008197/0.372, allocations: 425.1 kB / 478.5 MB, free: 4.109 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.372, allocations: 16.02 kB / 478.5 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.3721, allocations: 38.69 kB / 478.5 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006279/0.3783, allocations: 456.2 kB / 479 MB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.145e-05/0.3784, allocations: 168.3 kB / 479.2 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3785, allocations: 7.938 kB / 479.2 MB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.537e-05/0.3785, allocations: 8 kB / 479.2 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008046/0.3794, allocations: 297.2 kB / 479.5 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3794, allocations: 4 kB / 479.5 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.3794, allocations: 3.938 kB / 479.5 MB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3794, allocations: 4.875 kB / 479.5 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008064/0.3803, allocations: 271.8 kB / 479.7 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009592/0.3812, allocations: 441.7 kB / 480.2 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.3822, allocations: 202.4 kB / 480.4 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.3824, allocations: 68.81 kB / 480.4 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.3825, allocations: 7.984 kB / 480.4 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.3825, allocations: 38.5 kB / 480.5 MB, free: 1.992 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.3825, allocations: 0 / 480.5 MB, free: 1.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001796/0.3843, allocations: 417.2 kB / 480.9 MB, free: 1.578 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.3844, allocations: 55.41 kB / 480.9 MB, free: 1.512 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.864e-05/0.3844, allocations: 101.8 kB / 481 MB, free: 1.402 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.3845, allocations: 29.7 kB / 481.1 MB, free: 1.367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.3845, allocations: 95.89 kB / 481.2 MB, free: 1.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.3846, allocations: 63.09 kB / 481.2 MB, free: 1.207 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.3847, allocations: 25.64 kB / 481.3 MB, free: 1.176 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3848, allocations: 322.8 kB / 481.6 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.3851, allocations: 71.95 kB / 481.6 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.3854, allocations: 120.2 kB / 481.8 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005448/0.386, allocations: 203.1 kB / 482 MB, free: 448 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.386, allocations: 0 / 482 MB, free: 448 kB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006916/0.3867, allocations: 249.2 kB / 482.2 MB, free: 192 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.3867, allocations: 4 kB / 482.2 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3867, allocations: 4.125 kB / 482.2 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3868, allocations: 4.5 kB / 482.2 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.3871, allocations: 51.89 kB / 482.3 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3871, allocations: 4 kB / 482.3 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.3874, allocations: 11.98 kB / 482.3 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.3874, allocations: 17.55 kB / 482.3 MB, free: 96 kB / 366.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.0001121/0.3876, allocations: 129.7 kB / 482.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.3876, allocations: 4 kB / 482.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008064/0.3884, allocations: 272.6 kB / 482.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.3884, allocations: 4 kB / 482.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.3885, allocations: 0 / 482.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3885, allocations: 0 / 482.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.3898, allocations: 0.5917 MB / 483.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3898, allocations: 0 / 483.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.3901, allocations: 48.75 kB / 483.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3901, allocations: 0 / 483.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.3902, allocations: 12.06 kB / 483.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3902, allocations: 4 kB / 483.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3902, allocations: 0 / 483.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006831/0.3909, allocations: 336.8 kB / 483.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.3909, allocations: 85.02 kB / 483.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.391, allocations: 11.94 kB / 483.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.3912, allocations: 15.92 kB / 483.8 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.3913, allocations: 15.92 kB / 483.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.3913, allocations: 11.98 kB / 483.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.644e-05/0.3913, allocations: 87.28 kB / 483.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3913, allocations: 0 / 483.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.3917, allocations: 40 kB / 483.9 MB, free: 14.34 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.001022/0.3927, allocations: 0.8833 MB / 484.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000602/0.3933, allocations: 202.8 kB / 485 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3933, allocations: 0 / 485 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.3936, allocations: 108.2 kB / 485.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.394, allocations: 35.91 kB / 485.2 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009647/0.395, allocations: 370 kB / 485.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.3953, allocations: 0.6931 MB / 486.2 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000374/0.3957, allocations: 52.75 kB / 486.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.3958, allocations: 43.41 kB / 486.3 MB, free: 11.87 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3958, allocations: 0 / 486.3 MB, free: 11.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1866/0.5825, allocations: 4.004 MB / 490.3 MB, free: 7.863 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/0.5828, allocations: 183.7 kB / 490.5 MB, free: 7.605 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.505, allocations: 3.938 kB / 490.5 MB, free: 7.602 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches