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.001279/0.001279, allocations: 113.3 kB / 17.28 MB, free: 6.312 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.001331/0.001332, allocations: 189.3 kB / 18.19 MB, free: 5.395 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.235/1.235, allocations: 205.1 MB / 224 MB, free: 12.44 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.001144/0.001144, allocations: 51.92 kB / 280.2 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07601/0.07716, allocations: 46.62 MB / 326.9 MB, free: 4.703 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2873/0.3645, allocations: 148.3 MB / 475.2 MB, free: 3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.3661, allocations: 1.513 MB / 476.7 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.3661, allocations: 2.25 kB / 476.7 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.3663, allocations: 27.89 kB / 476.7 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000782/0.3671, allocations: 288.3 kB / 477 MB, free: 1.184 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.3673, allocations: 51.8 kB / 477.1 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.821e-05/0.3674, allocations: 75.55 kB / 477.1 MB, free: 1.059 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.3674, allocations: 5.828 kB / 477.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.792e-05/0.3675, allocations: 31.86 kB / 477.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.103e-05/0.3676, allocations: 27.91 kB / 477.2 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.3676, allocations: 4 kB / 477.2 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005835/0.3682, allocations: 379.4 kB / 477.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.3682, allocations: 12 kB / 477.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.3682, allocations: 31.8 kB / 477.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005106/0.3687, allocations: 295.4 kB / 477.9 MB, free: 296 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3688, allocations: 0 / 477.9 MB, free: 296 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3688, allocations: 0 / 477.9 MB, free: 296 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3688, allocations: 0 / 477.9 MB, free: 296 kB / 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.0007763/0.3696, allocations: 440 kB / 478.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.3696, allocations: 12.03 kB / 478.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.3696, allocations: 34.75 kB / 478.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006312/0.376, allocations: 456.7 kB / 478.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.961e-05/0.3761, allocations: 172.3 kB / 479 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.3761, allocations: 7.938 kB / 479 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.708e-05/0.3762, allocations: 8 kB / 479 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007368/0.3769, allocations: 297.2 kB / 479.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3769, allocations: 1.312 kB / 479.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.724e-05/0.377, allocations: 7.938 kB / 479.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.377, allocations: 4 kB / 479.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008306/0.3778, allocations: 275.8 kB / 479.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008975/0.3787, allocations: 437.3 kB / 480 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009557/0.3797, allocations: 198.4 kB / 480.2 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.3799, allocations: 72.81 kB / 480.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.3799, allocations: 8 kB / 480.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.3799, allocations: 30.56 kB / 480.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.38, allocations: 0 / 480.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001754/0.3817, allocations: 425.3 kB / 480.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.3818, allocations: 55.41 kB / 480.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.471e-05/0.3818, allocations: 101.8 kB / 480.9 MB, free: 13.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.3819, allocations: 29.64 kB / 480.9 MB, free: 13.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.3819, allocations: 111.8 kB / 481 MB, free: 12.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.382, allocations: 63.09 kB / 481.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.662e-05/0.3821, allocations: 37.69 kB / 481.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.37e-05/0.3822, allocations: 318.8 kB / 481.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.3824, allocations: 79.94 kB / 481.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.3827, allocations: 116.2 kB / 481.6 MB, free: 12.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005445/0.3832, allocations: 200.2 kB / 481.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3832, allocations: 3.938 kB / 481.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006111/0.3839, allocations: 245.3 kB / 482.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3839, allocations: 11.28 kB / 482.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3839, allocations: 0 / 482.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3839, allocations: 7.938 kB / 482.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.3843, allocations: 47.95 kB / 482.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3843, allocations: 3.938 kB / 482.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.3846, allocations: 16.11 kB / 482.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.3846, allocations: 15.98 kB / 482.2 MB, free: 11.77 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.0001534/0.3848, allocations: 121.8 kB / 482.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.009e-05/0.3849, allocations: 7.906 kB / 482.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007705/0.3857, allocations: 269.9 kB / 482.6 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3857, allocations: 4 kB / 482.6 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3857, allocations: 0.875 kB / 482.6 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3857, allocations: 3.984 kB / 482.6 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.3869, allocations: 0.5828 MB / 483.2 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3869, allocations: 4.062 kB / 483.2 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.3873, allocations: 43.91 kB / 483.2 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3873, allocations: 0 / 483.2 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.3873, allocations: 16.11 kB / 483.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3873, allocations: 0 / 483.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3873, allocations: 7.938 kB / 483.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006046/0.3879, allocations: 332.9 kB / 483.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.388, allocations: 85.02 kB / 483.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.453e-05/0.388, allocations: 7.984 kB / 483.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.3883, allocations: 11.98 kB / 483.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.3883, allocations: 19.92 kB / 483.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.3884, allocations: 12 kB / 483.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.554e-05/0.3884, allocations: 83.27 kB / 483.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3884, allocations: 0 / 483.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000396/0.3888, allocations: 40 kB / 483.8 MB, free: 10.03 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.0009128/0.3897, allocations: 0.8819 MB / 484.7 MB, free: 9.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005734/0.3903, allocations: 210.7 kB / 484.9 MB, free: 8.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3903, allocations: 8.188 kB / 484.9 MB, free: 8.902 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.3907, allocations: 103.9 kB / 485 MB, free: 8.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.3911, allocations: 34.36 kB / 485 MB, free: 8.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008857/0.392, allocations: 352.1 kB / 485.4 MB, free: 8.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.3922, allocations: 0.6928 MB / 486.1 MB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004508/0.3927, allocations: 53.38 kB / 486.1 MB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.3929, allocations: 39.41 kB / 486.2 MB, free: 7.574 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3929, allocations: 0 / 486.2 MB, free: 7.574 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.4067, allocations: 4.201 MB / 490.4 MB, free: 3.359 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/0.4069, allocations: 188.5 kB / 490.5 MB, free: 3.098 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.211, allocations: 0 / 490.5 MB, free: 3.098 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