Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 174.2 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.152/1.152, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007173/0.0007175, allocations: 93.47 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002925, allocations: 12 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1867, allocations: 47.57 MB / 375.2 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2778/0.4645, allocations: 136.4 MB / 0.4996 GB, free: 1.543 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.4658, allocations: 1.404 MB / 0.501 GB, free: 1.535 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.4658, allocations: 0 / 0.501 GB, free: 1.535 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.466, allocations: 19.89 kB / 0.501 GB, free: 1.535 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005476/0.4665, allocations: 255.8 kB / 0.5013 GB, free: 1.527 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001239/0.4666, allocations: 50.88 kB / 0.5013 GB, free: 1.523 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.728e-05/0.4667, allocations: 70.73 kB / 0.5014 GB, free: 1.523 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.409e-05/0.4668, allocations: 3 kB / 0.5014 GB, free: 1.523 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.326e-05/0.4668, allocations: 27.89 kB / 0.5014 GB, free: 1.523 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.4669, allocations: 30.81 kB / 0.5014 GB, free: 1.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.4669, allocations: 3.062 kB / 0.5014 GB, free: 1.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005441/0.4675, allocations: 368.1 kB / 0.5018 GB, free: 1.512 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.4675, allocations: 9.422 kB / 0.5018 GB, free: 1.512 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.4675, allocations: 52.08 kB / 0.5018 GB, free: 1.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.4678, allocations: 214.5 kB / 0.5021 GB, free: 1.469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4678, allocations: 0 / 0.5021 GB, free: 1.469 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4678, allocations: 3 kB / 0.5021 GB, free: 1.469 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.4678, allocations: 0 / 0.5021 GB, free: 1.469 MB / 378.7 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.0007652/0.4686, allocations: 425.1 kB / 0.5025 GB, free: 17.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.4686, allocations: 8.406 kB / 0.5025 GB, free: 17.08 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.4687, allocations: 45.78 kB / 0.5025 GB, free: 17.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005711/0.4744, allocations: 452.3 kB / 0.5029 GB, free: 17.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.508e-05/0.4745, allocations: 166.5 kB / 0.5031 GB, free: 16.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.4745, allocations: 11.53 kB / 0.5031 GB, free: 16.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.529e-05/0.4746, allocations: 8.719 kB / 0.5031 GB, free: 16.83 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006629/0.4752, allocations: 297.2 kB / 0.5034 GB, free: 16.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4752, allocations: 0 / 0.5034 GB, free: 16.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.4753, allocations: 6.719 kB / 0.5034 GB, free: 16.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.4753, allocations: 0 / 0.5034 GB, free: 16.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006909/0.476, allocations: 278.2 kB / 0.5037 GB, free: 16.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008463/0.4769, allocations: 439.2 kB / 0.5041 GB, free: 16.49 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008752/0.4777, allocations: 203.8 kB / 0.5043 GB, free: 16.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.4779, allocations: 73.78 kB / 0.5044 GB, free: 16.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.478, allocations: 2.188 kB / 0.5044 GB, free: 16.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.478, allocations: 32.66 kB / 0.5044 GB, free: 16.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.478, allocations: 2.297 kB / 0.5044 GB, free: 16.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0015/0.4795, allocations: 422.6 kB / 0.5048 GB, free: 16.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.4795, allocations: 57.47 kB / 0.5049 GB, free: 16.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.103e-05/0.4796, allocations: 104 kB / 0.505 GB, free: 16.19 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.4796, allocations: 28.95 kB / 0.505 GB, free: 16.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.4797, allocations: 94.61 kB / 0.5051 GB, free: 16.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.4797, allocations: 64.61 kB / 0.5051 GB, free: 16.03 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/0.4797, allocations: 2.938 kB / 0.5051 GB, free: 16.03 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.813e-05/0.4798, allocations: 320.6 kB / 0.5054 GB, free: 15.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.4801, allocations: 78.25 kB / 0.5055 GB, free: 15.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.4803, allocations: 113.9 kB / 0.5056 GB, free: 15.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004692/0.4808, allocations: 198.8 kB / 0.5058 GB, free: 15.63 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4808, allocations: 2.906 kB / 0.5058 GB, free: 15.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005669/0.4814, allocations: 247.9 kB / 0.5061 GB, free: 15.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.4814, allocations: 7.719 kB / 0.5061 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4814, allocations: 3.312 kB / 0.5061 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.4814, allocations: 0 / 0.5061 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.4817, allocations: 56.73 kB / 0.5061 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.4818, allocations: 3.469 kB / 0.5061 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.482, allocations: 13.83 kB / 0.5061 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.4821, allocations: 17.48 kB / 0.5062 GB, free: 15.58 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.778e-05/0.4822, allocations: 128.1 kB / 0.5063 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.4822, allocations: 2.938 kB / 0.5063 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007203/0.4829, allocations: 286.6 kB / 0.5065 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.4829, allocations: 0 / 0.5065 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4829, allocations: 2.75 kB / 0.5066 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.483, allocations: 3.188 kB / 0.5066 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.484, allocations: 0.5805 MB / 0.5071 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.484, allocations: 0 / 0.5071 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.4843, allocations: 43.44 kB / 0.5072 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4843, allocations: 3.781 kB / 0.5072 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.4844, allocations: 10.19 kB / 0.5072 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4844, allocations: 2.906 kB / 0.5072 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4844, allocations: 3.125 kB / 0.5072 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005662/0.485, allocations: 330.8 kB / 0.5075 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.485, allocations: 91.95 kB / 0.5076 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.485, allocations: 0 / 0.5076 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.4853, allocations: 20.5 kB / 0.5076 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.4853, allocations: 15.66 kB / 0.5076 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.4854, allocations: 15 kB / 0.5076 GB, free: 14.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.105e-05/0.4854, allocations: 78.72 kB / 0.5077 GB, free: 14.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4854, allocations: 0 / 0.5077 GB, free: 14.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000289/0.4857, allocations: 43.72 kB / 0.5078 GB, free: 14.73 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008893/0.4866, allocations: 0.875 MB / 0.5086 GB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005541/0.4872, allocations: 199.2 kB / 0.5088 GB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4872, allocations: 0.5312 kB / 0.5088 GB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.4874, allocations: 104.9 kB / 0.5089 GB, free: 14.03 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.4878, allocations: 44.03 kB / 0.5089 GB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008189/0.4887, allocations: 373.9 kB / 0.5093 GB, free: 13.78 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.4889, allocations: 0.6934 MB / 0.51 GB, free: 13.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.4891, allocations: 47.19 kB / 0.51 GB, free: 13.08 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4891, allocations: 2.625 kB / 0.51 GB, free: 13.08 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.494/2.983, allocations: 2.024 MB / 0.512 GB, free: 12.94 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches