Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001485/0.001485, allocations: 181.6 kB / 17.01 MB, free: 5.125 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.527/1.527, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0008598/0.0008594, allocations: 104.9 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002422/0.0002422, allocations: 8 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2604, allocations: 47.56 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.423/0.6835, allocations: 188.7 MB / 0.5513 GB, free: 50.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.6838, allocations: 99.94 kB / 0.5514 GB, free: 50.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6635/1.347, allocations: 200.5 MB / 0.7472 GB, free: 75.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.347, allocations: 0 / 0.7472 GB, free: 75.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.616e-05/1.347, allocations: 8 kB / 0.7472 GB, free: 75.65 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002472/1.35, allocations: 1.028 MB / 0.7482 GB, free: 74.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/1.35, allocations: 8.031 kB / 0.7482 GB, free: 74.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004597/1.35, allocations: 55.61 kB / 0.7482 GB, free: 74.51 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/1.351, allocations: 292.7 kB / 0.7485 GB, free: 74.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/1.351, allocations: 28.52 kB / 0.7486 GB, free: 74.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/1.351, allocations: 24 kB / 0.7486 GB, free: 74.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/1.352, allocations: 326.2 kB / 0.7489 GB, free: 73.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/1.352, allocations: 4 kB / 0.7489 GB, free: 73.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/1.352, allocations: 12 kB / 0.7489 GB, free: 73.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/1.352, allocations: 4 kB / 0.7489 GB, free: 73.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/1.352, allocations: 197.5 kB / 0.7491 GB, free: 73.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/1.354, allocations: 2.062 MB / 0.7511 GB, free: 71.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/1.354, allocations: 198.1 kB / 0.7513 GB, free: 71.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/1.354, allocations: 255.5 kB / 0.7515 GB, free: 70.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/1.354, allocations: 38.56 kB / 0.7516 GB, free: 70.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 3.226e-06/1.354, allocations: 0 / 0.7516 GB, free: 70.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.002455/1.357, allocations: 1.022 MB / 0.7526 GB, free: 69.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/1.357, allocations: 59.39 kB / 0.7526 GB, free: 69.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/1.357, allocations: 225.7 kB / 0.7528 GB, free: 69.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/1.357, allocations: 41.69 kB / 0.7529 GB, free: 69.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/1.357, allocations: 180.2 kB / 0.7531 GB, free: 69.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/1.357, allocations: 102.5 kB / 0.7532 GB, free: 69.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.447e-05/1.357, allocations: 8 kB / 0.7532 GB, free: 69.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.232e-05/1.357, allocations: 342.8 kB / 0.7535 GB, free: 68.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/1.358, allocations: 80.72 kB / 0.7536 GB, free: 68.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/1.358, allocations: 166.8 kB / 0.7537 GB, free: 68.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/1.358, allocations: 112.6 kB / 0.7538 GB, free: 68.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.358, allocations: 0 / 0.7538 GB, free: 68.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00052/1.358, allocations: 377.5 kB / 0.7542 GB, free: 67.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.358, allocations: 10.97 kB / 0.7542 GB, free: 67.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.358, allocations: 320 / 0.7542 GB, free: 67.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003913/1.359, allocations: 100.7 kB / 0.7543 GB, free: 67.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/1.359, allocations: 63.91 kB / 0.7544 GB, free: 67.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004285/1.36, allocations: 0.6538 MB / 0.755 GB, free: 67.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/1.36, allocations: 20.05 kB / 0.755 GB, free: 67.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/1.36, allocations: 20 kB / 0.755 GB, free: 67.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001622/1.36, allocations: 155.8 kB / 0.7552 GB, free: 66.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/1.36, allocations: 31.62 kB / 0.7552 GB, free: 66.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005881/1.361, allocations: 378.4 kB / 0.7556 GB, free: 66.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.361, allocations: 4 kB / 0.7556 GB, free: 66.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.361, allocations: 7.938 kB / 0.7556 GB, free: 66.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004701/1.361, allocations: 0.5748 MB / 0.7562 GB, free: 65.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000921/1.362, allocations: 0.7391 MB / 0.7569 GB, free: 64.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.362, allocations: 3.953 kB / 0.7569 GB, free: 64.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/1.362, allocations: 39.92 kB / 0.7569 GB, free: 64.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004724/1.363, allocations: 100.8 kB / 0.757 GB, free: 64.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/1.363, allocations: 0 / 0.757 GB, free: 64.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00036/1.363, allocations: 0.6382 MB / 0.7576 GB, free: 64.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.363, allocations: 4.031 kB / 0.7576 GB, free: 64.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006143/1.364, allocations: 0.5013 MB / 0.7581 GB, free: 63.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/1.364, allocations: 108.8 kB / 0.7582 GB, free: 63.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/1.364, allocations: 4 kB / 0.7582 GB, free: 63.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/1.364, allocations: 11.98 kB / 0.7582 GB, free: 63.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/1.364, allocations: 15.98 kB / 0.7583 GB, free: 63.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/1.364, allocations: 24.05 kB / 0.7583 GB, free: 63.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001794/1.364, allocations: 190 kB / 0.7585 GB, free: 63.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.365, allocations: 4 kB / 0.7585 GB, free: 63.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000699/1.365, allocations: 155.9 kB / 0.7586 GB, free: 63.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * 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): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004343/1.366, allocations: 246.8 kB / 0.7589 GB, free: 62.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004852/1.366, allocations: 240.2 kB / 0.7591 GB, free: 62.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.366, allocations: 4.156 kB / 0.7591 GB, free: 62.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002279/1.366, allocations: 123.8 kB / 0.7592 GB, free: 62.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000763/1.367, allocations: 148.9 kB / 0.7593 GB, free: 62.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/1.368, allocations: 0.7609 MB / 0.7601 GB, free: 61.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/1.369, allocations: 0.7766 MB / 0.7608 GB, free: 60.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003189/1.369, allocations: 75.11 kB / 0.7609 GB, free: 60.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/1.369, allocations: 31.42 kB / 0.7609 GB, free: 60.62 MB / 426.7 MB Notification: Performance of SimCode: time 3.3e-07/1.369, allocations: 0 / 0.7609 GB, free: 60.62 MB / 426.7 MB Notification: Performance of Templates: time 0.0117/1.381, allocations: 7.383 MB / 0.7682 GB, free: 53.23 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches