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.001448/0.001448, allocations: 172.7 kB / 14.1 MB, free: 1.223 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.743/1.743, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.001013/0.001014, allocations: 82.7 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.354e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1162, allocations: 47.57 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7335/0.8497, allocations: 188.6 MB / 0.5455 GB, free: 110.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/0.8501, allocations: 104.8 kB / 0.5456 GB, free: 110.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6605/1.511, allocations: 200 MB / 0.7409 GB, free: 106.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.983e-06/1.511, allocations: 0 / 0.7409 GB, free: 106.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.79e-05/1.511, allocations: 7.375 kB / 0.7409 GB, free: 106.1 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.002075/1.513, allocations: 0.9993 MB / 0.7419 GB, free: 105.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/1.513, allocations: 14.94 kB / 0.7419 GB, free: 105.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003862/1.513, allocations: 49.05 kB / 0.742 GB, free: 105.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/1.514, allocations: 297.5 kB / 0.7422 GB, free: 105.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/1.514, allocations: 22.97 kB / 0.7423 GB, free: 105.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/1.514, allocations: 24.12 kB / 0.7423 GB, free: 105.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/1.514, allocations: 317.2 kB / 0.7426 GB, free: 105.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/1.514, allocations: 3.188 kB / 0.7426 GB, free: 105.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/1.514, allocations: 12.81 kB / 0.7426 GB, free: 105.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/1.514, allocations: 17.97 kB / 0.7426 GB, free: 105.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/1.514, allocations: 181.1 kB / 0.7428 GB, free: 105.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/1.516, allocations: 2.068 MB / 0.7448 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/1.516, allocations: 176.7 kB / 0.745 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/1.516, allocations: 87.61 kB / 0.7451 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/1.516, allocations: 255.3 kB / 0.7453 GB, free: 103 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/1.516, allocations: 37.97 kB / 0.7453 GB, free: 103 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.542e-06/1.516, allocations: 0 / 0.7453 GB, free: 103 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.00217/1.519, allocations: 0.8944 MB / 0.7462 GB, free: 102.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/1.519, allocations: 55.38 kB / 0.7463 GB, free: 102.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/1.519, allocations: 238 kB / 0.7465 GB, free: 102.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/1.519, allocations: 29.33 kB / 0.7465 GB, free: 102.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.166e-05/1.519, allocations: 184.6 kB / 0.7467 GB, free: 102.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/1.519, allocations: 100.7 kB / 0.7468 GB, free: 102.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.446e-05/1.519, allocations: 14.47 kB / 0.7468 GB, free: 102.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.822e-05/1.519, allocations: 345 kB / 0.7471 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/1.519, allocations: 75.03 kB / 0.7472 GB, free: 101.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/1.519, allocations: 169.2 kB / 0.7474 GB, free: 101.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/1.52, allocations: 109.9 kB / 0.7475 GB, free: 101.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/1.52, allocations: 0 / 0.7475 GB, free: 101.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005271/1.52, allocations: 372.8 kB / 0.7478 GB, free: 101.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/1.52, allocations: 10 kB / 0.7478 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.52, allocations: 0 / 0.7478 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003968/1.521, allocations: 94.7 kB / 0.7479 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/1.521, allocations: 65.97 kB / 0.748 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004095/1.521, allocations: 0.6494 MB / 0.7486 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/1.522, allocations: 24.2 kB / 0.7487 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/1.522, allocations: 20.66 kB / 0.7487 GB, free: 101.2 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 () * 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 8.71e-05/1.522, allocations: 126.6 kB / 0.7488 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/1.522, allocations: 29.59 kB / 0.7488 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006755/1.522, allocations: 388.3 kB / 0.7492 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.522, allocations: 3.188 kB / 0.7492 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.522, allocations: 0 / 0.7492 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004616/1.523, allocations: 0.5754 MB / 0.7498 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008594/1.524, allocations: 0.732 MB / 0.7505 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.524, allocations: 0 / 0.7505 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/1.524, allocations: 39.09 kB / 0.7505 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/1.524, allocations: 97.52 kB / 0.7506 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/1.524, allocations: 21.55 kB / 0.7506 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000349/1.525, allocations: 0.6338 MB / 0.7512 GB, free: 99.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.525, allocations: 3.797 kB / 0.7512 GB, free: 99.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005809/1.525, allocations: 0.4914 MB / 0.7517 GB, free: 99.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/1.525, allocations: 122.4 kB / 0.7518 GB, free: 99.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/1.525, allocations: 3.312 kB / 0.7518 GB, free: 99.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/1.526, allocations: 18.84 kB / 0.7519 GB, free: 99.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/1.526, allocations: 11.44 kB / 0.7519 GB, free: 99.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/1.526, allocations: 22.58 kB / 0.7519 GB, free: 99.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001542/1.526, allocations: 190.3 kB / 0.7521 GB, free: 99.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-07/1.526, allocations: 0 / 0.7521 GB, free: 99.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006224/1.527, allocations: 166.7 kB / 0.7522 GB, free: 99.2 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 () * 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.0003557/1.527, allocations: 236.3 kB / 0.7525 GB, free: 99.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004489/1.527, allocations: 239.2 kB / 0.7527 GB, free: 99.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.527, allocations: 0 / 0.7527 GB, free: 99.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/1.528, allocations: 117.9 kB / 0.7528 GB, free: 99.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008076/1.528, allocations: 157.3 kB / 0.753 GB, free: 99.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007727/1.529, allocations: 427.4 kB / 0.7534 GB, free: 98.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/1.529, allocations: 0.7726 MB / 0.7541 GB, free: 98.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002799/1.53, allocations: 65.83 kB / 0.7542 GB, free: 98.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/1.53, allocations: 32.23 kB / 0.7542 GB, free: 98.17 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/1.53, allocations: 3.938 kB / 0.7542 GB, free: 98.16 MB / 426.7 MB Notification: Performance of Templates: time 0.01132/1.541, allocations: 7.474 MB / 0.7615 GB, free: 97.41 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