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: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001411, allocations: 109.4 kB / 17.73 MB, free: 5.344 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.001787/0.001787, allocations: 192.2 kB / 18.66 MB, free: 4.418 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.458/1.458, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001138/0.001138, allocations: 47.94 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08291/0.08406, allocations: 46.61 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3172/0.4013, allocations: 150.4 MB / 0.5132 GB, free: 8.742 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.403, allocations: 1.526 MB / 0.5147 GB, free: 7.219 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.127e-05/0.403, allocations: 0 / 0.5147 GB, free: 7.219 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.4033, allocations: 27.88 kB / 0.5148 GB, free: 7.191 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008287/0.4041, allocations: 318.3 kB / 0.5151 GB, free: 6.879 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.4043, allocations: 60.38 kB / 0.5151 GB, free: 6.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.4045, allocations: 79.52 kB / 0.5152 GB, free: 6.742 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.4045, allocations: 8 kB / 0.5152 GB, free: 6.734 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.4046, allocations: 37.55 kB / 0.5152 GB, free: 6.699 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.4047, allocations: 23.86 kB / 0.5153 GB, free: 6.676 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.148e-06/0.4047, allocations: 0 / 0.5153 GB, free: 6.676 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006827/0.4054, allocations: 367.5 kB / 0.5156 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.4054, allocations: 7.984 kB / 0.5156 GB, free: 6.309 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.4055, allocations: 31.86 kB / 0.5156 GB, free: 6.277 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004387/0.4059, allocations: 287 kB / 0.5159 GB, free: 6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4059, allocations: 3.938 kB / 0.5159 GB, free: 5.996 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4059, allocations: 4 kB / 0.5159 GB, free: 5.992 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.4059, allocations: 0 / 0.5159 GB, free: 5.992 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.0008389/0.4068, allocations: 435.3 kB / 0.5163 GB, free: 5.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.4068, allocations: 8.031 kB / 0.5164 GB, free: 5.512 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005978/0.4128, allocations: 465.2 kB / 0.5168 GB, free: 5.059 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.4129, allocations: 168.5 kB / 0.517 GB, free: 4.855 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.413, allocations: 7.938 kB / 0.517 GB, free: 4.848 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/0.4131, allocations: 8 kB / 0.517 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007618/0.4138, allocations: 297.3 kB / 0.5173 GB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.4139, allocations: 7.922 kB / 0.5173 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.4139, allocations: 4 kB / 0.5173 GB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.4139, allocations: 0 / 0.5173 GB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007952/0.4147, allocations: 275.7 kB / 0.5175 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009561/0.4157, allocations: 432.8 kB / 0.5179 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009668/0.4167, allocations: 202.4 kB / 0.5181 GB, free: 3.582 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.4169, allocations: 72.81 kB / 0.5182 GB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.4169, allocations: 3.938 kB / 0.5182 GB, free: 3.504 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.4169, allocations: 34.56 kB / 0.5182 GB, free: 3.461 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.4169, allocations: 0 / 0.5182 GB, free: 3.461 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001692/0.4186, allocations: 425.7 kB / 0.5186 GB, free: 3.039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.4187, allocations: 55.41 kB / 0.5187 GB, free: 2.973 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.4188, allocations: 109.8 kB / 0.5188 GB, free: 2.855 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.4188, allocations: 29.7 kB / 0.5188 GB, free: 2.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.4189, allocations: 96.5 kB / 0.5189 GB, free: 2.723 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.55e-05/0.4189, allocations: 55.2 kB / 0.519 GB, free: 2.668 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.883e-05/0.419, allocations: 45.69 kB / 0.519 GB, free: 2.617 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.4191, allocations: 310.8 kB / 0.5193 GB, free: 2.305 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.4194, allocations: 83.94 kB / 0.5194 GB, free: 2.223 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.4197, allocations: 117.1 kB / 0.5195 GB, free: 2.094 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005458/0.4202, allocations: 207.3 kB / 0.5197 GB, free: 1.879 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4203, allocations: 0 / 0.5197 GB, free: 1.879 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006583/0.4209, allocations: 249.3 kB / 0.5199 GB, free: 1.629 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.421, allocations: 4 kB / 0.5199 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.421, allocations: 4 kB / 0.52 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.421, allocations: 0 / 0.52 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.4214, allocations: 60.02 kB / 0.52 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.4214, allocations: 4 kB / 0.52 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.4216, allocations: 10.55 kB / 0.52 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/0.4217, allocations: 19.98 kB / 0.52 GB, free: 1.531 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.0001067/0.4218, allocations: 121.7 kB / 0.5202 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.4218, allocations: 7.906 kB / 0.5202 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008116/0.4227, allocations: 278 kB / 0.5204 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4227, allocations: 4 kB / 0.5204 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4227, allocations: 0 / 0.5204 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4227, allocations: 0 / 0.5204 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.424, allocations: 0.5828 MB / 0.521 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.424, allocations: 3.938 kB / 0.521 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003306/0.4243, allocations: 47.95 kB / 0.5211 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.4243, allocations: 4 kB / 0.5211 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.4244, allocations: 0 / 0.5211 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.4244, allocations: 4 kB / 0.5211 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4244, allocations: 4.062 kB / 0.5211 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000645/0.425, allocations: 342.4 kB / 0.5214 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.4251, allocations: 85.02 kB / 0.5215 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.4251, allocations: 8.875 kB / 0.5215 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.4254, allocations: 11.98 kB / 0.5215 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.4255, allocations: 11.92 kB / 0.5215 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.4255, allocations: 15.98 kB / 0.5215 GB, free: 15.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.515e-05/0.4255, allocations: 79.28 kB / 0.5216 GB, free: 15.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4255, allocations: 0 / 0.5216 GB, free: 15.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.4259, allocations: 40 kB / 0.5216 GB, free: 15.79 MB / 462.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.0002117/0.4261, allocations: 131.1 kB / 0.5218 GB, free: 15.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006311/0.4267, allocations: 203.7 kB / 0.522 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4267, allocations: 4 kB / 0.522 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.427, allocations: 107.8 kB / 0.5221 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.4275, allocations: 34.02 kB / 0.5221 GB, free: 15.31 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008002/0.4283, allocations: 267 kB / 0.5223 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.4285, allocations: 0.6928 MB / 0.523 GB, free: 14.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002765/0.4288, allocations: 52.75 kB / 0.5231 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.429, allocations: 31.42 kB / 0.5231 GB, free: 14.22 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.429, allocations: 0 / 0.5231 GB, free: 14.22 MB / 462.1 MB Notification: Performance of Templates: time 0.005932/0.4349, allocations: 3.088 MB / 0.5261 GB, free: 11.14 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/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