Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001509/0.001509, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00107/0.001069, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.632e-05/2.648e-05, allocations: 3.984 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09471/0.09476, allocations: 47.57 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8232/0.918, allocations: 188.6 MB / 0.5446 GB, free: 110.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000417/0.9185, allocations: 96.23 kB / 0.5447 GB, free: 110.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9515/1.87, allocations: 200 MB / 0.74 GB, free: 105.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/1.87, allocations: 0 / 0.74 GB, free: 105.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.295e-05/1.87, allocations: 3.25 kB / 0.74 GB, free: 105.8 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.002541/1.873, allocations: 1.007 MB / 0.741 GB, free: 105.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.873, allocations: 13.88 kB / 0.741 GB, free: 105.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005322/1.873, allocations: 54.22 kB / 0.7411 GB, free: 105.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/1.874, allocations: 288.2 kB / 0.7413 GB, free: 105 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/1.874, allocations: 19.84 kB / 0.7413 GB, free: 105 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.843e-05/1.874, allocations: 20.31 kB / 0.7414 GB, free: 105 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006424/1.875, allocations: 323.7 kB / 0.7417 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/1.875, allocations: 11.09 kB / 0.7417 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-05/1.875, allocations: 17.73 kB / 0.7417 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/1.875, allocations: 15.22 kB / 0.7417 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/1.875, allocations: 187.2 kB / 0.7419 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/1.878, allocations: 2.064 MB / 0.7439 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/1.878, allocations: 173 kB / 0.7441 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/1.879, allocations: 81.64 kB / 0.7442 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/1.879, allocations: 254.5 kB / 0.7444 GB, free: 102.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/1.879, allocations: 37.06 kB / 0.7444 GB, free: 102.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 2.966e-06/1.879, allocations: 0 / 0.7444 GB, free: 102.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.003933/1.883, allocations: 0.9012 MB / 0.7453 GB, free: 102.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/1.883, allocations: 58.59 kB / 0.7454 GB, free: 102.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/1.883, allocations: 223.6 kB / 0.7456 GB, free: 102.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.744e-05/1.883, allocations: 36.52 kB / 0.7456 GB, free: 102.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/1.884, allocations: 238.1 kB / 0.7458 GB, free: 102 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.507e-05/1.884, allocations: 109.5 kB / 0.7459 GB, free: 101.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/1.884, allocations: 3.625 kB / 0.746 GB, free: 101.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.315e-05/1.884, allocations: 330.5 kB / 0.7463 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/1.884, allocations: 83.91 kB / 0.7463 GB, free: 101.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/1.884, allocations: 170 kB / 0.7465 GB, free: 101.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/1.885, allocations: 105.3 kB / 0.7466 GB, free: 101.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.885, allocations: 0 / 0.7466 GB, free: 101.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009/1.885, allocations: 356.7 kB / 0.7469 GB, free: 101.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.886, allocations: 13.95 kB / 0.747 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.886, allocations: 3.406 kB / 0.747 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006792/1.886, allocations: 88.89 kB / 0.7471 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/1.887, allocations: 71.8 kB / 0.7471 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006318/1.887, allocations: 0.6598 MB / 0.7478 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/1.888, allocations: 14.33 kB / 0.7478 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-05/1.888, allocations: 22.97 kB / 0.7478 GB, free: 100.9 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 0.0001521/1.888, allocations: 123.8 kB / 0.7479 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.7e-05/1.888, allocations: 30.12 kB / 0.7479 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/1.889, allocations: 387.5 kB / 0.7483 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/1.889, allocations: 6.938 kB / 0.7483 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.889, allocations: 0 / 0.7483 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007694/1.89, allocations: 0.5789 MB / 0.7489 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/1.892, allocations: 0.7338 MB / 0.7496 GB, free: 99.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/1.892, allocations: 0 / 0.7496 GB, free: 99.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/1.892, allocations: 32.28 kB / 0.7496 GB, free: 99.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007268/1.893, allocations: 104.6 kB / 0.7497 GB, free: 99.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/1.893, allocations: 11.53 kB / 0.7497 GB, free: 99.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005878/1.893, allocations: 0.6304 MB / 0.7504 GB, free: 99.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.893, allocations: 4 kB / 0.7504 GB, free: 99.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/1.894, allocations: 0.505 MB / 0.7509 GB, free: 99.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/1.895, allocations: 108.7 kB / 0.751 GB, free: 99.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-05/1.895, allocations: 7.406 kB / 0.751 GB, free: 99.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004387/1.895, allocations: 19.03 kB / 0.751 GB, free: 99.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/1.895, allocations: 17.25 kB / 0.751 GB, free: 99.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/1.895, allocations: 13.47 kB / 0.751 GB, free: 99.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002792/1.896, allocations: 194.7 kB / 0.7512 GB, free: 98.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.815e-06/1.896, allocations: 3.812 kB / 0.7512 GB, free: 98.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008842/1.896, allocations: 166.7 kB / 0.7514 GB, free: 98.91 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.0005265/1.897, allocations: 229 kB / 0.7516 GB, free: 98.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008069/1.898, allocations: 246.2 kB / 0.7518 GB, free: 98.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.898, allocations: 0 / 0.7518 GB, free: 98.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003863/1.898, allocations: 114 kB / 0.7519 GB, free: 98.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/1.9, allocations: 155.5 kB / 0.7521 GB, free: 98.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/1.901, allocations: 465.8 kB / 0.7525 GB, free: 98.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/1.901, allocations: 0.7692 MB / 0.7533 GB, free: 97.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/1.902, allocations: 40.27 kB / 0.7533 GB, free: 97.86 MB / 426.7 MB Notification: Performance of SimCode: time 1.173e-06/1.902, allocations: 3.719 kB / 0.7533 GB, free: 97.86 MB / 426.7 MB Notification: Performance of Templates: time 0.01455/1.916, allocations: 7.176 MB / 0.7603 GB, free: 97.38 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches