Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 176.4 kB / 17.4 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.3 MB / 241.4 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008187/0.0008188, allocations: 98 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002935/0.0002935, allocations: 15.94 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2288, allocations: 50.39 MB / 402.7 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09369/0.3226, allocations: 80.36 MB / 483.1 MB, free: 4 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.3229, allocations: 72.03 kB / 483.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02396/0.3469, allocations: 9.414 MB / 492.6 MB, free: 6.453 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3469, allocations: 0 / 492.6 MB, free: 6.453 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.317e-05/0.347, allocations: 19.92 kB / 492.6 MB, free: 6.434 MB / 362.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.001314/0.3483, allocations: 0.7456 MB / 493.4 MB, free: 5.625 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3483, allocations: 8.031 kB / 493.4 MB, free: 5.617 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.3485, allocations: 64.19 kB / 493.4 MB, free: 5.555 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005924/0.3491, allocations: 386.7 kB / 493.8 MB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.3492, allocations: 66.89 kB / 493.9 MB, free: 5.066 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.401e-05/0.3493, allocations: 36.28 kB / 493.9 MB, free: 5.031 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/0.35, allocations: 457.5 kB / 494.3 MB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.3501, allocations: 3.938 kB / 494.4 MB, free: 4.527 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/0.3501, allocations: 15.98 kB / 494.4 MB, free: 4.512 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.3501, allocations: 8 kB / 494.4 MB, free: 4.504 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006011/0.3507, allocations: 294.5 kB / 494.7 MB, free: 4.215 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.3529, allocations: 1.248 MB / 495.9 MB, free: 2.887 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.3539, allocations: 435.7 kB / 496.3 MB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.3542, allocations: 146.2 kB / 496.5 MB, free: 2.293 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.3542, allocations: 8.266 kB / 496.5 MB, free: 2.285 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.3543, allocations: 38.84 kB / 496.5 MB, free: 2.238 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.3543, allocations: 0 / 496.5 MB, free: 2.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001154/0.3554, allocations: 0.6273 MB / 497.2 MB, free: 1.562 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001902/0.3556, allocations: 448.9 kB / 497.6 MB, free: 1.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005269/0.3562, allocations: 453.9 kB / 498 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.3562, allocations: 33.7 kB / 498.1 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.3564, allocations: 232.5 kB / 498.3 MB, free: 300 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.13e-05/0.3565, allocations: 118.3 kB / 498.4 MB, free: 180 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.3565, allocations: 4 kB / 498.4 MB, free: 176 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3567, allocations: 362.7 kB / 498.8 MB, free: 15.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.3569, allocations: 111.7 kB / 498.9 MB, free: 15.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.3573, allocations: 256 kB / 499.1 MB, free: 15.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005311/0.3578, allocations: 293.2 kB / 499.4 MB, free: 15.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3578, allocations: 0 / 499.4 MB, free: 15.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000753/0.3586, allocations: 445.8 kB / 499.8 MB, free: 14.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.3587, allocations: 33.7 kB / 499.9 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3587, allocations: 0 / 499.9 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/0.3588, allocations: 49.69 kB / 499.9 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.3592, allocations: 71.94 kB / 0.4883 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.3616, allocations: 2.755 MB / 0.491 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.3619, allocations: 47.72 kB / 0.491 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.3619, allocations: 12 kB / 0.491 GB, free: 11.4 MB / 378.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.0002101/0.3621, allocations: 166.4 kB / 0.4912 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.91e-05/0.3622, allocations: 51.44 kB / 0.4912 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.3623, allocations: 56.69 kB / 0.4913 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3623, allocations: 4 kB / 0.4913 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-06/0.3624, allocations: 0 / 0.4913 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006844/0.363, allocations: 0.662 MB / 0.4919 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.3644, allocations: 0.9265 MB / 0.4928 GB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3644, allocations: 0 / 0.4928 GB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.3647, allocations: 72.12 kB / 0.4929 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.3647, allocations: 0 / 0.4929 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.3648, allocations: 8 kB / 0.4929 GB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3648, allocations: 0 / 0.4929 GB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3648, allocations: 0 / 0.4929 GB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008526/0.3656, allocations: 0.5455 MB / 0.4935 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.3659, allocations: 164.5 kB / 0.4936 GB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.09e-05/0.3659, allocations: 19.88 kB / 0.4936 GB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.3662, allocations: 20.06 kB / 0.4937 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.3662, allocations: 27.84 kB / 0.4937 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.3662, allocations: 8 kB / 0.4937 GB, free: 8.465 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003605/0.3666, allocations: 319.1 kB / 0.494 GB, free: 8.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3666, allocations: 0 / 0.494 GB, free: 8.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004374/0.3671, allocations: 139.8 kB / 0.4941 GB, free: 8.023 MB / 378.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.0001736/0.3672, allocations: 124.1 kB / 0.4942 GB, free: 7.895 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009062/0.3682, allocations: 0.5707 MB / 0.4948 GB, free: 7.285 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3682, allocations: 0 / 0.4948 GB, free: 7.285 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.3684, allocations: 132.5 kB / 0.4949 GB, free: 7.156 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006775/0.3691, allocations: 125.8 kB / 0.495 GB, free: 7.031 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.3708, allocations: 1.092 MB / 0.4961 GB, free: 5.914 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.3713, allocations: 0.8276 MB / 0.4969 GB, free: 5.059 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002448/0.3715, allocations: 56.25 kB / 0.497 GB, free: 5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.4e-05/0.3716, allocations: 35.44 kB / 0.497 GB, free: 4.965 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3716, allocations: 0 / 0.497 GB, free: 4.965 MB / 378.7 MB Notification: Performance of Templates: time 0.1835/0.5552, allocations: 7.449 MB / 0.5043 GB, free: 97.33 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches