Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001478/0.001478, allocations: 104.7 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001822/0.001822, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 54.62 kB / 306.4 MB, free: 0.9805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07945/0.08059, allocations: 50.53 MB / 357 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2926/0.3732, allocations: 150.1 MB / 0.4952 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.3758, allocations: 2.528 MB / 0.4977 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.3758, allocations: 0 / 0.4977 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.376, allocations: 23.89 kB / 0.4977 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008559/0.3769, allocations: 308.4 kB / 0.498 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.3771, allocations: 55.77 kB / 0.498 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.3772, allocations: 103.4 kB / 0.4981 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.388e-05/0.3773, allocations: 4 kB / 0.4981 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.3774, allocations: 39.8 kB / 0.4982 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.496e-05/0.3774, allocations: 35.84 kB / 0.4982 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.3775, allocations: 4 kB / 0.4982 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006906/0.3782, allocations: 387.4 kB / 0.4986 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.3782, allocations: 15.88 kB / 0.4986 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.3782, allocations: 35.8 kB / 0.4986 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000499/0.3788, allocations: 321.4 kB / 0.4989 GB, free: 1.715 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3788, allocations: 4 kB / 0.4989 GB, free: 1.711 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3788, allocations: 0 / 0.4989 GB, free: 1.711 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3788, allocations: 0 / 0.4989 GB, free: 1.711 MB / 414.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.0008762/0.3797, allocations: 459.7 kB / 0.4994 GB, free: 1.215 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.3797, allocations: 12.03 kB / 0.4994 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006134/0.3858, allocations: 460.6 kB / 0.4998 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.386, allocations: 183.5 kB / 0.5 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.386, allocations: 7.984 kB / 0.5 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.361e-05/0.3861, allocations: 8 kB / 0.5 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007805/0.3869, allocations: 297.3 kB / 0.5003 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3869, allocations: 0 / 0.5003 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.696e-05/0.387, allocations: 4 kB / 0.5003 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.387, allocations: 0 / 0.5003 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008151/0.3878, allocations: 275.9 kB / 0.5006 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.3881, allocations: 258.1 kB / 0.5008 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.3885, allocations: 154.8 kB / 0.501 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.3887, allocations: 88.81 kB / 0.501 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.3888, allocations: 8 kB / 0.501 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.3888, allocations: 30.56 kB / 0.5011 GB, free: 15.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 2.785e-06/0.3888, allocations: 3.984 kB / 0.5011 GB, free: 15.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.002183/0.391, allocations: 0.5736 MB / 0.5016 GB, free: 14.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.391, allocations: 63.34 kB / 0.5017 GB, free: 14.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.952e-05/0.3911, allocations: 111.9 kB / 0.5018 GB, free: 14.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.3912, allocations: 29.7 kB / 0.5018 GB, free: 14.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.3912, allocations: 88.58 kB / 0.5019 GB, free: 14.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.809e-05/0.3913, allocations: 82.75 kB / 0.502 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.3914, allocations: 45.69 kB / 0.502 GB, free: 14.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.3915, allocations: 322.8 kB / 0.5024 GB, free: 14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.3918, allocations: 99.92 kB / 0.5024 GB, free: 13.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/0.3921, allocations: 107.7 kB / 0.5026 GB, free: 13.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006134/0.3927, allocations: 223.7 kB / 0.5028 GB, free: 13.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3928, allocations: 0 / 0.5028 GB, free: 13.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007312/0.3935, allocations: 289.3 kB / 0.503 GB, free: 13.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3935, allocations: 4 kB / 0.503 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3935, allocations: 4 kB / 0.503 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.3935, allocations: 0 / 0.503 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.394, allocations: 55.89 kB / 0.5031 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.394, allocations: 3.938 kB / 0.5031 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.3943, allocations: 19.98 kB / 0.5031 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.3944, allocations: 11.98 kB / 0.5031 GB, free: 13.19 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (24): * Single equations (assignments): 24 * 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.0001074/0.3945, allocations: 117.8 kB / 0.5032 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.3945, allocations: 7.906 kB / 0.5033 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009673/0.3955, allocations: 355.9 kB / 0.5036 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.3955, allocations: 7.938 kB / 0.5036 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3955, allocations: 0 / 0.5036 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3955, allocations: 0 / 0.5036 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.397, allocations: 0.7294 MB / 0.5043 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.397, allocations: 0 / 0.5043 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004258/0.3975, allocations: 59.89 kB / 0.5044 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3975, allocations: 0 / 0.5044 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.3975, allocations: 11.98 kB / 0.5044 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3975, allocations: 7.938 kB / 0.5044 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3975, allocations: 4 kB / 0.5044 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008025/0.3984, allocations: 418 kB / 0.5048 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.3984, allocations: 85.02 kB / 0.5049 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.3985, allocations: 8 kB / 0.5049 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.3988, allocations: 16.8 kB / 0.5049 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.3989, allocations: 31.84 kB / 0.5049 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.3989, allocations: 11.98 kB / 0.5049 GB, free: 11.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.734e-05/0.3989, allocations: 91.28 kB / 0.505 GB, free: 11.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3989, allocations: 0 / 0.505 GB, free: 11.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003501/0.3993, allocations: 56 kB / 0.5051 GB, free: 11.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (26): * Single equations (assignments): 26 * 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.0002094/0.3995, allocations: 127.1 kB / 0.5052 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007502/0.4003, allocations: 265.1 kB / 0.5055 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4003, allocations: 0 / 0.5055 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.4007, allocations: 140.1 kB / 0.5056 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.4012, allocations: 64.3 kB / 0.5056 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000896/0.4021, allocations: 386.3 kB / 0.506 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.4024, allocations: 0.7047 MB / 0.5067 GB, free: 9.332 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004283/0.4028, allocations: 57.52 kB / 0.5068 GB, free: 9.277 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.403, allocations: 35.36 kB / 0.5068 GB, free: 9.242 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.403, allocations: 0 / 0.5068 GB, free: 9.242 MB / 430.1 MB Notification: Performance of Templates: time 0.007497/0.4105, allocations: 4.108 MB / 0.5108 GB, free: 5.172 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_trunk_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches