Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001604/0.001604, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009617/0.0009618, allocations: 95.02 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.348e-05/3.352e-05, allocations: 7.984 kB / 350.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.113, allocations: 51.49 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3543/0.4673, allocations: 81.08 MB / 483.1 MB, free: 8.391 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.4676, allocations: 76.3 kB / 483.2 MB, free: 8.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02196/0.4896, allocations: 9.457 MB / 492.6 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4897, allocations: 0 / 492.6 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.713e-05/0.4897, allocations: 8 kB / 492.6 MB, free: 0.5586 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001311/0.491, allocations: 0.6828 MB / 493.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.4911, allocations: 8.031 kB / 493.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.4913, allocations: 59.34 kB / 493.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007038/0.492, allocations: 369.4 kB / 493.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.4922, allocations: 66.08 kB / 493.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.22e-05/0.4923, allocations: 32 kB / 493.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007168/0.493, allocations: 431 kB / 494.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.493, allocations: 3.938 kB / 494.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.4931, allocations: 22.34 kB / 494.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.4931, allocations: 11.98 kB / 494.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005185/0.4936, allocations: 259.1 kB / 494.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002369/0.496, allocations: 1.263 MB / 495.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.4971, allocations: 426.9 kB / 496.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.4974, allocations: 134 kB / 496.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/0.4974, allocations: 4.281 kB / 496.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/0.4975, allocations: 38.84 kB / 496.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 2.084e-06/0.4975, allocations: 0 / 496.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007894/0.4983, allocations: 360.7 kB / 496.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000232/0.4985, allocations: 445 kB / 497.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000511/0.499, allocations: 395.2 kB / 497.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.4991, allocations: 29.7 kB / 497.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.4993, allocations: 232.5 kB / 497.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.4994, allocations: 114.2 kB / 497.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/0.4994, allocations: 8 kB / 497.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4996, allocations: 358.8 kB / 498.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.4998, allocations: 100 kB / 498.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.5001, allocations: 234.9 kB / 498.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.5004, allocations: 153.6 kB / 498.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5004, allocations: 0 / 498.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007334/0.5011, allocations: 434.2 kB / 499.2 MB, free: 9.574 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.5012, allocations: 31.11 kB / 499.2 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5012, allocations: 0 / 499.2 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003089/0.5015, allocations: 69.66 kB / 499.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.5019, allocations: 79.84 kB / 499.4 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002929/0.5048, allocations: 2.748 MB / 0.4904 GB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/0.5052, allocations: 55.58 kB / 0.4904 GB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.5052, allocations: 15.98 kB / 0.4904 GB, free: 6.297 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.5054, allocations: 131 kB / 0.4906 GB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.892e-05/0.5055, allocations: 51.44 kB / 0.4906 GB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.5056, allocations: 44.83 kB / 0.4906 GB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5056, allocations: 4 kB / 0.4906 GB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/0.5056, allocations: 3.953 kB / 0.4906 GB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006456/0.5063, allocations: 0.6452 MB / 0.4913 GB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.5076, allocations: 0.884 MB / 0.4921 GB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5077, allocations: 1.219 kB / 0.4921 GB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003611/0.508, allocations: 71.89 kB / 0.4922 GB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.5081, allocations: 3.953 kB / 0.4922 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.5081, allocations: 8 kB / 0.4922 GB, free: 4.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5081, allocations: 4 kB / 0.4922 GB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.5081, allocations: 0 / 0.4922 GB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007673/0.5089, allocations: 0.4949 MB / 0.4927 GB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.5091, allocations: 160.4 kB / 0.4929 GB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.848e-05/0.5092, allocations: 15.94 kB / 0.4929 GB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.5094, allocations: 24.05 kB / 0.4929 GB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.5095, allocations: 28.02 kB / 0.4929 GB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.5095, allocations: 8 kB / 0.4929 GB, free: 3.512 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003798/0.5099, allocations: 313.2 kB / 0.4932 GB, free: 3.207 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5099, allocations: 5.781 kB / 0.4932 GB, free: 3.203 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004687/0.5104, allocations: 131.9 kB / 0.4934 GB, free: 3.074 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002175/0.5106, allocations: 119.2 kB / 0.4935 GB, free: 2.949 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.5117, allocations: 0.5545 MB / 0.494 GB, free: 2.359 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5117, allocations: 0 / 0.494 GB, free: 2.359 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.5119, allocations: 124.4 kB / 0.4941 GB, free: 2.238 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005514/0.5124, allocations: 118.2 kB / 0.4943 GB, free: 2.129 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.5137, allocations: 0.6149 MB / 0.4949 GB, free: 1.484 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.5142, allocations: 0.8315 MB / 0.4957 GB, free: 0.625 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002325/0.5144, allocations: 52.25 kB / 0.4957 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.5145, allocations: 43.42 kB / 0.4958 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5145, allocations: 0 / 0.4958 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of Templates: time 0.01596/0.5305, allocations: 7.487 MB / 0.5031 GB, free: 9.254 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches