Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001304/0.001304, allocations: 103.8 kB / 17.73 MB, free: 5.32 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.001157/0.001157, allocations: 197.6 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 47.91 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2974, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1633/0.4608, allocations: 149.2 MB / 0.5377 GB, free: 3.062 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003203/0.4641, allocations: 2.526 MB / 0.5402 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.014e-05/0.4642, allocations: 0 / 0.5402 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.4644, allocations: 27.83 kB / 0.5402 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.4657, allocations: 326.3 kB / 0.5405 GB, free: 184 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.4659, allocations: 55.5 kB / 0.5405 GB, free: 132 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.4661, allocations: 79.58 kB / 0.5406 GB, free: 52 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.4661, allocations: 11.98 kB / 0.5406 GB, free: 40 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.4662, allocations: 31.86 kB / 0.5407 GB, free: 8 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3001/0.7664, allocations: 26.2 kB / 0.5407 GB, free: 2.051 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.7665, allocations: 1.625 kB / 0.5407 GB, free: 2.051 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.7678, allocations: 361.1 kB / 0.541 GB, free: 2.051 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.7679, allocations: 9.578 kB / 0.541 GB, free: 2.051 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.399e-05/0.768, allocations: 34.59 kB / 0.5411 GB, free: 2.051 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000749/0.7687, allocations: 295 kB / 0.5414 GB, free: 2.051 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.7687, allocations: 0 / 0.5414 GB, free: 2.051 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.7688, allocations: 0.6562 kB / 0.5414 GB, free: 2.051 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.7688, allocations: 0 / 0.5414 GB, free: 2.051 MB / 462.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.001145/0.7699, allocations: 434.8 kB / 0.5418 GB, free: 17.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.77, allocations: 9.562 kB / 0.5418 GB, free: 17.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005817/0.7758, allocations: 460.2 kB / 0.5422 GB, free: 17.68 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.776, allocations: 168.9 kB / 0.5424 GB, free: 17.48 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.776, allocations: 9.188 kB / 0.5424 GB, free: 17.47 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.7762, allocations: 8.75 kB / 0.5424 GB, free: 17.47 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000776/0.777, allocations: 306 kB / 0.5427 GB, free: 17.44 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.777, allocations: 0.5312 kB / 0.5427 GB, free: 17.44 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.778e-05/0.777, allocations: 1.062 kB / 0.5427 GB, free: 17.44 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.777, allocations: 4.422 kB / 0.5427 GB, free: 17.44 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008659/0.7779, allocations: 275 kB / 0.543 GB, free: 17.44 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.779, allocations: 423.2 kB / 0.5434 GB, free: 17.16 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.7801, allocations: 205 kB / 0.5436 GB, free: 17.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.7803, allocations: 68.77 kB / 0.5436 GB, free: 17.13 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.7803, allocations: 5.641 kB / 0.5436 GB, free: 17.13 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.7803, allocations: 38.86 kB / 0.5437 GB, free: 17.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 2.043e-06/0.7803, allocations: 0.6875 kB / 0.5437 GB, free: 17.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.00161/0.782, allocations: 422.7 kB / 0.5441 GB, free: 17.04 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.782, allocations: 54.47 kB / 0.5441 GB, free: 16.97 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.891e-05/0.7821, allocations: 106.3 kB / 0.5442 GB, free: 16.88 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.7821, allocations: 26.67 kB / 0.5442 GB, free: 16.84 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.7822, allocations: 96.77 kB / 0.5443 GB, free: 16.75 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.7823, allocations: 55.62 kB / 0.5444 GB, free: 16.71 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.339e-05/0.7823, allocations: 49.62 kB / 0.5444 GB, free: 16.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.7825, allocations: 322.1 kB / 0.5447 GB, free: 16.38 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.7827, allocations: 79.3 kB / 0.5448 GB, free: 16.38 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.7829, allocations: 114.3 kB / 0.5449 GB, free: 16.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.7834, allocations: 201.8 kB / 0.5451 GB, free: 16.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7834, allocations: 0 / 0.5451 GB, free: 16.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006065/0.784, allocations: 251.2 kB / 0.5454 GB, free: 16.27 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.7841, allocations: 5.344 kB / 0.5454 GB, free: 16.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.7841, allocations: 3.219 kB / 0.5454 GB, free: 16.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.7841, allocations: 2.438 kB / 0.5454 GB, free: 16.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.7845, allocations: 48.5 kB / 0.5454 GB, free: 16.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.7845, allocations: 9.547 kB / 0.5454 GB, free: 16.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.7848, allocations: 21.66 kB / 0.5455 GB, free: 16.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.7848, allocations: 11.11 kB / 0.5455 GB, free: 16.26 MB / 478.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.0001181/0.7849, allocations: 124.5 kB / 0.5456 GB, free: 16.14 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.785, allocations: 10.62 kB / 0.5456 GB, free: 16.14 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007371/0.7857, allocations: 273.9 kB / 0.5459 GB, free: 16.11 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.7857, allocations: 2.531 kB / 0.5459 GB, free: 16.11 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7858, allocations: 0.75 kB / 0.5459 GB, free: 16.11 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.7858, allocations: 2.906 kB / 0.5459 GB, free: 16.11 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.787, allocations: 0.5806 MB / 0.5464 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.787, allocations: 0.5312 kB / 0.5464 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.7873, allocations: 47.33 kB / 0.5465 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.7873, allocations: 2.797 kB / 0.5465 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.7873, allocations: 7.812 kB / 0.5465 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.7874, allocations: 1.938 kB / 0.5465 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7874, allocations: 0 / 0.5465 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/0.788, allocations: 342.2 kB / 0.5468 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.788, allocations: 90.56 kB / 0.5469 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.7881, allocations: 3.25 kB / 0.5469 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.7883, allocations: 12.12 kB / 0.5469 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.7884, allocations: 18.5 kB / 0.5469 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.7884, allocations: 11.92 kB / 0.5469 GB, free: 15.53 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.429e-05/0.7884, allocations: 79.59 kB / 0.547 GB, free: 15.45 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7884, allocations: 2.078 kB / 0.547 GB, free: 15.45 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00037/0.7888, allocations: 51.16 kB / 0.5471 GB, free: 15.45 MB / 478.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.0002415/0.7891, allocations: 122.6 kB / 0.5472 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005768/0.7897, allocations: 201 kB / 0.5474 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7897, allocations: 1.062 kB / 0.5474 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.7899, allocations: 103.8 kB / 0.5475 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.7904, allocations: 44.16 kB / 0.5475 GB, free: 15.34 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007643/0.7912, allocations: 298.3 kB / 0.5478 GB, free: 15.17 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.7915, allocations: 0.6951 MB / 0.5485 GB, free: 14.47 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.7916, allocations: 34.84 kB / 0.5485 GB, free: 14.46 MB / 478.1 MB Notification: Performance of SimCode: time 2.21e-07/0.7916, allocations: 2.188 kB / 0.5485 GB, free: 14.46 MB / 478.1 MB Notification: Performance of Templates: time 0.004021/0.7957, allocations: 2.337 MB / 0.5508 GB, free: 14.4 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches