Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001569, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.953/1.953, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001093/0.001093, allocations: 86.69 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003994, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3441, allocations: 47.56 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.4799, allocations: 80.95 MB / 455.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.4803, allocations: 83.94 kB / 455.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04165/0.5219, allocations: 9.558 MB / 465.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.522, allocations: 0 / 465.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.088e-05/0.5221, allocations: 11.98 kB / 465.1 MB, free: 6.078 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.001707/0.5238, allocations: 0.7493 MB / 465.9 MB, free: 5.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.5238, allocations: 8.031 kB / 465.9 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.524, allocations: 63.28 kB / 465.9 MB, free: 5.199 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007226/0.5247, allocations: 369.7 kB / 466.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.5249, allocations: 66.64 kB / 466.4 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.182e-05/0.525, allocations: 40 kB / 466.4 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.5261, allocations: 456.9 kB / 466.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.5261, allocations: 0 / 466.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.837e-05/0.5262, allocations: 12 kB / 466.9 MB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.5262, allocations: 8 kB / 466.9 MB, free: 4.168 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009809/0.5272, allocations: 298.4 kB / 467.2 MB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.5304, allocations: 1.253 MB / 468.4 MB, free: 2.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.5324, allocations: 445.5 kB / 468.9 MB, free: 2.078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.411e-05/0.5325, allocations: 12.27 kB / 468.9 MB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.5325, allocations: 38.84 kB / 468.9 MB, free: 2.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 3.146e-06/0.5325, allocations: 0 / 468.9 MB, free: 2.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.001973/0.5345, allocations: 0.6254 MB / 469.5 MB, free: 1.348 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002107/0.5348, allocations: 445 kB / 470 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007681/0.5355, allocations: 401.1 kB / 470.4 MB, free: 428 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.5356, allocations: 33.8 kB / 470.4 MB, free: 388 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.5358, allocations: 270.9 kB / 470.7 MB, free: 112 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.536, allocations: 118.4 kB / 470.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.5361, allocations: 4 kB / 470.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5362, allocations: 330.7 kB / 471.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004206/0.5366, allocations: 111.9 kB / 471.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005857/0.5372, allocations: 262.4 kB / 471.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/0.5377, allocations: 160.1 kB / 471.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.5378, allocations: 0 / 471.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001277/0.539, allocations: 406.7 kB / 472 MB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.5391, allocations: 29.7 kB / 472 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.5391, allocations: 0 / 472 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002383/0.5394, allocations: 61.61 kB / 472.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/0.54, allocations: 75.84 kB / 472.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.5435, allocations: 2.767 MB / 474.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006419/0.5442, allocations: 51.62 kB / 475 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.5442, allocations: 8 kB / 475 MB, free: 11.39 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 () * Number of clocked 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 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00036/0.5446, allocations: 174.3 kB / 475.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.5447, allocations: 51.81 kB / 475.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.5449, allocations: 48.7 kB / 475.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.5449, allocations: 7.984 kB / 475.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5449, allocations: 0 / 475.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001101/0.546, allocations: 0.6686 MB / 476 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.5482, allocations: 0.923 MB / 476.9 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.5483, allocations: 0 / 476.9 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006824/0.549, allocations: 79.89 kB / 477 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.549, allocations: 0 / 477 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.549, allocations: 11.95 kB / 477 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.549, allocations: 0 / 477 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.549, allocations: 0 / 477 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.5505, allocations: 0.548 MB / 477.5 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002935/0.5508, allocations: 160.5 kB / 477.7 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.551, allocations: 8 kB / 477.7 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004235/0.5514, allocations: 23.95 kB / 477.7 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.5515, allocations: 19.97 kB / 477.7 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.5515, allocations: 11.98 kB / 477.7 MB, free: 8.453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005758/0.5521, allocations: 319.2 kB / 478 MB, free: 8.148 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5521, allocations: 0 / 478 MB, free: 8.148 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006625/0.5528, allocations: 135.8 kB / 478.2 MB, free: 8.016 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 () * Number of clocked 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.0002239/0.553, allocations: 123.2 kB / 478.3 MB, free: 7.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.5545, allocations: 0.5823 MB / 478.9 MB, free: 7.266 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.5546, allocations: 4 kB / 478.9 MB, free: 7.262 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004381/0.555, allocations: 131.9 kB / 479 MB, free: 7.133 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009453/0.556, allocations: 124.1 kB / 479.1 MB, free: 7.016 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.5587, allocations: 1.114 MB / 480.2 MB, free: 5.863 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.5592, allocations: 0.8237 MB / 481.1 MB, free: 5.012 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.5595, allocations: 43.42 kB / 481.1 MB, free: 4.969 MB / 362.7 MB Notification: Performance of SimCode: time 1.363e-06/0.5595, allocations: 4 kB / 481.1 MB, free: 4.965 MB / 362.7 MB Notification: Performance of Templates: time 0.01806/0.5776, allocations: 7.874 MB / 489 MB, free: 13.11 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches