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.001371/0.001371, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.3 MB / 214.4 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 86.38 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.892e-05/1.894e-05, allocations: 4 kB / 315.5 MB, free: 22.69 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08909/0.08912, allocations: 47.57 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8104/0.8996, allocations: 188.2 MB / 0.5383 GB, free: 113.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.8998, allocations: 100.5 kB / 0.5384 GB, free: 113.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6941/1.594, allocations: 198.7 MB / 0.7325 GB, free: 96.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.594, allocations: 2.938 kB / 0.7325 GB, free: 96.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.801e-05/1.594, allocations: 13.5 kB / 0.7325 GB, free: 96.51 MB / 410.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.003043/1.597, allocations: 1.001 MB / 0.7335 GB, free: 95.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/1.597, allocations: 10.97 kB / 0.7335 GB, free: 95.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005459/1.598, allocations: 46.91 kB / 0.7335 GB, free: 95.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005281/1.598, allocations: 298.7 kB / 0.7338 GB, free: 95.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/1.598, allocations: 5.531 kB / 0.7338 GB, free: 95.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.726e-05/1.598, allocations: 14.16 kB / 0.7338 GB, free: 95.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003498/1.599, allocations: 161.7 kB / 0.734 GB, free: 95.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/1.599, allocations: 286 kB / 0.7343 GB, free: 95.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/1.599, allocations: 3.938 kB / 0.7343 GB, free: 95.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-05/1.599, allocations: 3.594 kB / 0.7343 GB, free: 95.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/1.599, allocations: 7.625 kB / 0.7343 GB, free: 95.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/1.602, allocations: 2.009 MB / 0.7362 GB, free: 93.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/1.602, allocations: 174.3 kB / 0.7364 GB, free: 93.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/1.602, allocations: 72.33 kB / 0.7365 GB, free: 93.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/1.602, allocations: 249.6 kB / 0.7367 GB, free: 93.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/1.602, allocations: 41.97 kB / 0.7367 GB, free: 93.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.804e-06/1.602, allocations: 0 / 0.7367 GB, free: 93.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.002557/1.605, allocations: 0.8141 MB / 0.7375 GB, free: 93.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/1.605, allocations: 59.25 kB / 0.7376 GB, free: 93.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/1.605, allocations: 200.2 kB / 0.7378 GB, free: 92.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/1.605, allocations: 25.7 kB / 0.7378 GB, free: 92.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.078e-05/1.605, allocations: 189.1 kB / 0.738 GB, free: 92.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.046e-05/1.606, allocations: 102.5 kB / 0.7381 GB, free: 92.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/1.606, allocations: 0 / 0.7381 GB, free: 92.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.601e-05/1.606, allocations: 340.7 kB / 0.7384 GB, free: 92.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/1.606, allocations: 75.89 kB / 0.7385 GB, free: 92.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/1.606, allocations: 151.6 kB / 0.7386 GB, free: 92.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005428/1.607, allocations: 133.1 kB / 0.7388 GB, free: 92.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.607, allocations: 3.938 kB / 0.7388 GB, free: 92.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008664/1.607, allocations: 357.6 kB / 0.7391 GB, free: 92.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/1.607, allocations: 3.5 kB / 0.7391 GB, free: 92.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.607, allocations: 3.594 kB / 0.7391 GB, free: 92.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003114/1.608, allocations: 86.27 kB / 0.7392 GB, free: 92.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/1.608, allocations: 67.56 kB / 0.7393 GB, free: 92.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006114/1.609, allocations: 0.6827 MB / 0.7399 GB, free: 91.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/1.609, allocations: 7.094 kB / 0.7399 GB, free: 91.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/1.609, allocations: 17.66 kB / 0.74 GB, free: 91.69 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002025/1.609, allocations: 121.8 kB / 0.7401 GB, free: 91.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/1.609, allocations: 30.28 kB / 0.7401 GB, free: 91.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008979/1.61, allocations: 389.4 kB / 0.7405 GB, free: 91.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.61, allocations: 2.594 kB / 0.7405 GB, free: 91.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.61, allocations: 6.469 kB / 0.7405 GB, free: 91.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006878/1.611, allocations: 0.56 MB / 0.741 GB, free: 91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/1.612, allocations: 0.6804 MB / 0.7417 GB, free: 90.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.612, allocations: 0 / 0.7417 GB, free: 90.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/1.612, allocations: 34.12 kB / 0.7417 GB, free: 90.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002318/1.612, allocations: 82.38 kB / 0.7418 GB, free: 90.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/1.612, allocations: 9.281 kB / 0.7418 GB, free: 90.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005467/1.613, allocations: 0.6533 MB / 0.7424 GB, free: 90.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.613, allocations: 0 / 0.7424 GB, free: 90.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008007/1.614, allocations: 496.8 kB / 0.7429 GB, free: 89.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/1.614, allocations: 107.7 kB / 0.743 GB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/1.614, allocations: 3.969 kB / 0.743 GB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/1.614, allocations: 9.359 kB / 0.743 GB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/1.614, allocations: 22.66 kB / 0.7431 GB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/1.614, allocations: 14.25 kB / 0.7431 GB, free: 89.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001508/1.615, allocations: 163.4 kB / 0.7432 GB, free: 89.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.615, allocations: 192 / 0.7432 GB, free: 89.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007782/1.615, allocations: 149.5 kB / 0.7434 GB, free: 89.54 MB / 410.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.0005636/1.616, allocations: 233.6 kB / 0.7436 GB, free: 89.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005276/1.616, allocations: 234.5 kB / 0.7438 GB, free: 89.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.617, allocations: 6.062 kB / 0.7438 GB, free: 89.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002236/1.617, allocations: 118.9 kB / 0.7439 GB, free: 89.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007632/1.618, allocations: 124.4 kB / 0.7441 GB, free: 89.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009771/1.618, allocations: 409.6 kB / 0.7444 GB, free: 89.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/1.619, allocations: 0.7711 MB / 0.7452 GB, free: 88.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003291/1.619, allocations: 54.78 kB / 0.7452 GB, free: 88.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.146e-05/1.619, allocations: 30.05 kB / 0.7453 GB, free: 88.36 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/1.619, allocations: 0 / 0.7453 GB, free: 88.36 MB / 410.7 MB Notification: Performance of Templates: time 0.0122/1.631, allocations: 6.479 MB / 0.7516 GB, free: 84.62 MB / 410.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