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.001094/0.001094, allocations: 101.5 kB / 17.72 MB, free: 5.371 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.001114/0.001114, allocations: 192 kB / 18.66 MB, free: 4.445 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.397/1.397, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001196/0.001196, allocations: 55.92 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08866/0.08986, allocations: 46.61 MB / 374.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3342/0.4241, allocations: 150.4 MB / 0.5128 GB, free: 9.094 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.4259, allocations: 1.524 MB / 0.5142 GB, free: 7.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.851e-05/0.426, allocations: 4 kB / 0.5142 GB, free: 7.566 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.4263, allocations: 27.81 kB / 0.5143 GB, free: 7.539 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.4273, allocations: 320.1 kB / 0.5146 GB, free: 7.227 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.4275, allocations: 59.75 kB / 0.5146 GB, free: 7.168 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.4277, allocations: 79.58 kB / 0.5147 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.4277, allocations: 5.312 kB / 0.5147 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.4278, allocations: 31.8 kB / 0.5147 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.146e-05/0.4279, allocations: 27.86 kB / 0.5148 GB, free: 7.027 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.4279, allocations: 4 kB / 0.5148 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007573/0.4287, allocations: 363.5 kB / 0.5151 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.4287, allocations: 11.98 kB / 0.5151 GB, free: 6.656 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.4288, allocations: 27.86 kB / 0.5152 GB, free: 6.629 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005113/0.4293, allocations: 291.4 kB / 0.5154 GB, free: 6.344 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4293, allocations: 4 kB / 0.5154 GB, free: 6.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4293, allocations: 0 / 0.5154 GB, free: 6.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.4293, allocations: 0 / 0.5154 GB, free: 6.34 MB / 446.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.0008755/0.4302, allocations: 439.9 kB / 0.5159 GB, free: 5.863 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.4303, allocations: 8.031 kB / 0.5159 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.118e-05/0.4303, allocations: 42.69 kB / 0.5159 GB, free: 5.805 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005925/0.4363, allocations: 465.4 kB / 0.5164 GB, free: 5.352 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.4364, allocations: 164.3 kB / 0.5165 GB, free: 5.152 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.4364, allocations: 7.938 kB / 0.5165 GB, free: 5.145 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.163e-05/0.4365, allocations: 8 kB / 0.5165 GB, free: 5.137 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007825/0.4373, allocations: 297.3 kB / 0.5168 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.4373, allocations: 7.906 kB / 0.5168 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.4374, allocations: 0 / 0.5168 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.4374, allocations: 0 / 0.5168 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008138/0.4382, allocations: 279.7 kB / 0.5171 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009854/0.4392, allocations: 432.8 kB / 0.5175 GB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.4402, allocations: 198.4 kB / 0.5177 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.4404, allocations: 68.83 kB / 0.5178 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.4405, allocations: 7.984 kB / 0.5178 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.4405, allocations: 38.5 kB / 0.5178 GB, free: 3.758 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.4405, allocations: 0 / 0.5178 GB, free: 3.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.00177/0.4423, allocations: 425.9 kB / 0.5182 GB, free: 3.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.4424, allocations: 51.41 kB / 0.5183 GB, free: 3.277 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.125e-05/0.4425, allocations: 109.8 kB / 0.5184 GB, free: 3.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.4425, allocations: 25.7 kB / 0.5184 GB, free: 3.129 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.4426, allocations: 96.56 kB / 0.5185 GB, free: 3.031 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/0.4426, allocations: 63.12 kB / 0.5185 GB, free: 2.969 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.42e-05/0.4427, allocations: 37.7 kB / 0.5186 GB, free: 2.926 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4428, allocations: 326.8 kB / 0.5189 GB, free: 2.598 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/0.4431, allocations: 79.94 kB / 0.519 GB, free: 2.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.4434, allocations: 112.2 kB / 0.5191 GB, free: 2.395 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005805/0.444, allocations: 204.1 kB / 0.5193 GB, free: 2.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4441, allocations: 3.938 kB / 0.5193 GB, free: 2.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006739/0.4447, allocations: 241.3 kB / 0.5195 GB, free: 1.934 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4448, allocations: 4.125 kB / 0.5195 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4448, allocations: 8 kB / 0.5195 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4448, allocations: 0 / 0.5195 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.4452, allocations: 55.89 kB / 0.5196 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.4452, allocations: 4 kB / 0.5196 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.4454, allocations: 15.98 kB / 0.5196 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.4455, allocations: 12 kB / 0.5196 GB, free: 1.836 MB / 446.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.000108/0.4456, allocations: 129.7 kB / 0.5197 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.4457, allocations: 7.906 kB / 0.5197 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000808/0.4465, allocations: 275.8 kB / 0.52 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4465, allocations: 0 / 0.52 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4465, allocations: 0 / 0.52 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4465, allocations: 0 / 0.52 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.4478, allocations: 0.5748 MB / 0.5205 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4478, allocations: 6.812 kB / 0.5205 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.4482, allocations: 43.95 kB / 0.5206 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.4482, allocations: 4 kB / 0.5206 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.4482, allocations: 16.05 kB / 0.5206 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4482, allocations: 0 / 0.5206 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4482, allocations: 3.938 kB / 0.5206 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006678/0.4489, allocations: 338.1 kB / 0.5209 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.449, allocations: 85.05 kB / 0.521 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.449, allocations: 3.938 kB / 0.521 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.4493, allocations: 15.98 kB / 0.521 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.4493, allocations: 15.91 kB / 0.5211 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.4494, allocations: 12 kB / 0.5211 GB, free: 216 kB / 446.1 MB Notification: Performance of sorting global known variables: time 4.029e-05/0.4494, allocations: 83.28 kB / 0.5211 GB, free: 132 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4494, allocations: 0 / 0.5211 GB, free: 132 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003326/0.4498, allocations: 47.98 kB / 0.5212 GB, free: 84 kB / 446.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.001122/0.4509, allocations: 0.8817 MB / 0.522 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006544/0.4516, allocations: 199.7 kB / 0.5222 GB, free: 14.97 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4516, allocations: 4 kB / 0.5222 GB, free: 14.97 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.4519, allocations: 101 kB / 0.5223 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.4524, allocations: 37.2 kB / 0.5224 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.4534, allocations: 320.5 kB / 0.5227 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.4537, allocations: 0.6967 MB / 0.5234 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002876/0.454, allocations: 47.09 kB / 0.5234 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.4542, allocations: 47.39 kB / 0.5235 GB, free: 13.66 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4542, allocations: 0 / 0.5235 GB, free: 13.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.4761, allocations: 4.393 MB / 0.5277 GB, free: 9.227 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.312/7.788, allocations: 7.984 kB / 0.5277 GB, free: 9.219 MB / 462.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","/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