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.00108/0.00108, allocations: 182.6 kB / 18.04 MB, free: 3.758 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.368/1.368, allocations: 205.4 MB / 224.2 MB, free: 9.031 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.0007546/0.0007545, allocations: 97.34 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004939/0.0004942, allocations: 8 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2332, allocations: 47.58 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3465/0.5797, allocations: 188.8 MB / 0.5525 GB, free: 49.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.58, allocations: 107.9 kB / 0.5526 GB, free: 49.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4892/1.069, allocations: 178.9 MB / 0.7274 GB, free: 96.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.994e-06/1.069, allocations: 0 / 0.7274 GB, free: 96.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.086e-05/1.069, allocations: 8 kB / 0.7274 GB, free: 96.37 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.002069/1.071, allocations: 1.032 MB / 0.7284 GB, free: 95.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.071, allocations: 8.406 kB / 0.7284 GB, free: 95.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004055/1.072, allocations: 52.55 kB / 0.7284 GB, free: 95.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/1.072, allocations: 296.8 kB / 0.7287 GB, free: 94.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/1.072, allocations: 20.94 kB / 0.7288 GB, free: 94.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/1.072, allocations: 24.38 kB / 0.7288 GB, free: 94.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/1.073, allocations: 334.8 kB / 0.7291 GB, free: 94.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/1.073, allocations: 8.031 kB / 0.7291 GB, free: 94.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/1.073, allocations: 15.94 kB / 0.7291 GB, free: 94.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/1.073, allocations: 8 kB / 0.7291 GB, free: 94.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002602/1.073, allocations: 193.5 kB / 0.7293 GB, free: 94.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/1.075, allocations: 2.06 MB / 0.7313 GB, free: 92.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/1.075, allocations: 178.6 kB / 0.7315 GB, free: 91.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/1.075, allocations: 92.77 kB / 0.7316 GB, free: 91.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/1.075, allocations: 251.1 kB / 0.7318 GB, free: 91.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/1.075, allocations: 46.84 kB / 0.7319 GB, free: 91.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.914e-06/1.075, allocations: 0 / 0.7319 GB, free: 91.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.002195/1.077, allocations: 1.019 MB / 0.7329 GB, free: 90.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/1.077, allocations: 59.34 kB / 0.7329 GB, free: 90.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/1.078, allocations: 262.5 kB / 0.7332 GB, free: 89.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/1.078, allocations: 29.7 kB / 0.7332 GB, free: 89.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/1.078, allocations: 180.2 kB / 0.7334 GB, free: 89.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/1.078, allocations: 106.5 kB / 0.7335 GB, free: 89.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/1.078, allocations: 8 kB / 0.7335 GB, free: 89.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.424e-05/1.078, allocations: 342.8 kB / 0.7338 GB, free: 89.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/1.078, allocations: 84.7 kB / 0.7339 GB, free: 89.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/1.078, allocations: 166.7 kB / 0.734 GB, free: 89.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/1.078, allocations: 274.9 kB / 0.7343 GB, free: 88.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/1.078, allocations: 11.94 kB / 0.7343 GB, free: 88.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004848/1.079, allocations: 373.6 kB / 0.7347 GB, free: 88.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.079, allocations: 6.188 kB / 0.7347 GB, free: 88.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.079, allocations: 4 kB / 0.7347 GB, free: 88.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003816/1.079, allocations: 101 kB / 0.7348 GB, free: 88.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/1.08, allocations: 67.89 kB / 0.7348 GB, free: 88.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003775/1.08, allocations: 0.6499 MB / 0.7355 GB, free: 87.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/1.08, allocations: 15.89 kB / 0.7355 GB, free: 87.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/1.08, allocations: 24.06 kB / 0.7355 GB, free: 87.43 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.0001349/1.08, allocations: 149.8 kB / 0.7357 GB, free: 87.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/1.08, allocations: 27.72 kB / 0.7357 GB, free: 87.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005589/1.081, allocations: 382.2 kB / 0.736 GB, free: 86.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.081, allocations: 4 kB / 0.7361 GB, free: 86.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.081, allocations: 4 kB / 0.7361 GB, free: 86.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004515/1.082, allocations: 0.567 MB / 0.7366 GB, free: 86.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008224/1.082, allocations: 0.7471 MB / 0.7373 GB, free: 85.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.082, allocations: 0 / 0.7373 GB, free: 85.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/1.083, allocations: 47.89 kB / 0.7374 GB, free: 85.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004173/1.083, allocations: 100.9 kB / 0.7375 GB, free: 85.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/1.083, allocations: 11.94 kB / 0.7375 GB, free: 85.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003294/1.083, allocations: 0.6421 MB / 0.7381 GB, free: 84.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.083, allocations: 0 / 0.7381 GB, free: 84.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005999/1.084, allocations: 482 kB / 0.7386 GB, free: 84.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/1.084, allocations: 112.7 kB / 0.7387 GB, free: 83.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/1.084, allocations: 8 kB / 0.7387 GB, free: 83.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/1.084, allocations: 8 kB / 0.7387 GB, free: 83.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/1.084, allocations: 23.91 kB / 0.7387 GB, free: 83.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/1.084, allocations: 15.98 kB / 0.7387 GB, free: 83.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001453/1.084, allocations: 198 kB / 0.7389 GB, free: 83.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.085, allocations: 64 / 0.7389 GB, free: 83.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005501/1.085, allocations: 159.9 kB / 0.7391 GB, free: 83.52 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.0003417/1.085, allocations: 241.3 kB / 0.7393 GB, free: 83.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004359/1.086, allocations: 239.6 kB / 0.7395 GB, free: 83.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.086, allocations: 0 / 0.7395 GB, free: 83.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/1.086, allocations: 116.6 kB / 0.7397 GB, free: 82.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008651/1.087, allocations: 157.5 kB / 0.7398 GB, free: 82.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/1.088, allocations: 0.7659 MB / 0.7405 GB, free: 81.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/1.088, allocations: 0.7687 MB / 0.7413 GB, free: 81.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003025/1.088, allocations: 63.19 kB / 0.7414 GB, free: 81.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/1.089, allocations: 23.44 kB / 0.7414 GB, free: 81.11 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/1.089, allocations: 7.938 kB / 0.7414 GB, free: 81.1 MB / 426.7 MB Notification: Performance of Templates: time 0.01062/1.099, allocations: 7.535 MB / 0.7487 GB, free: 73.59 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/jenkins1/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