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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001081, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.015/1.015, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.507e-05, allocations: 2.312 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003663/0.003688, allocations: 3.535 MB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.005402, allocations: 0.9695 MB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.005602, allocations: 7.938 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.005893, allocations: 107.1 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.00621, allocations: 198.3 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.006462, allocations: 123.8 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006486/0.007111, allocations: 0.6646 MB / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.007385, allocations: 127.5 kB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005827/0.007967, allocations: 371.2 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.00822, allocations: 199.4 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.822e-05/0.008288, allocations: 52 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.797e-05/0.008356, allocations: 60 kB / 279.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.321e-05/0.008439, allocations: 123.6 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.008619, allocations: 199.6 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004863/0.009105, allocations: 442.3 kB / 280 MB, free: 10.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.009109, allocations: 0 / 280 MB, free: 10.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.009111, allocations: 0 / 280 MB, free: 10.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.009121, allocations: 0 / 280 MB, free: 10.28 MB / 266.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.001052/0.01017, allocations: 0.8866 MB / 280.9 MB, free: 9.352 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.01021, allocations: 11.98 kB / 280.9 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.01035, allocations: 88.56 kB / 281 MB, free: 9.254 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.01076, allocations: 327.2 kB / 281.3 MB, free: 8.906 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.01086, allocations: 110.3 kB / 281.4 MB, free: 8.781 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/0.01092, allocations: 40.38 kB / 281.5 MB, free: 8.742 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007206/0.01164, allocations: 0.8042 MB / 282.3 MB, free: 7.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.01165, allocations: 192 / 282.3 MB, free: 7.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.01168, allocations: 20.12 kB / 282.3 MB, free: 7.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.01169, allocations: 8 kB / 282.3 MB, free: 7.742 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002574/0.01195, allocations: 155.8 kB / 282.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.01328, allocations: 0.9745 MB / 283.4 MB, free: 6.574 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.01393, allocations: 267.7 kB / 283.7 MB, free: 6.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.01405, allocations: 75.64 kB / 283.8 MB, free: 6.223 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.01408, allocations: 11.94 kB / 283.8 MB, free: 6.211 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.01411, allocations: 41.39 kB / 283.8 MB, free: 6.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.455e-06/0.01411, allocations: 0 / 283.8 MB, free: 6.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005995/0.01471, allocations: 332.6 kB / 284.1 MB, free: 5.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.01485, allocations: 448.9 kB / 284.6 MB, free: 5.277 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.01517, allocations: 430.7 kB / 285 MB, free: 4.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.0152, allocations: 33.7 kB / 285 MB, free: 4.801 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.01535, allocations: 295.2 kB / 285.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.727e-05/0.01542, allocations: 123 kB / 285.4 MB, free: 4.387 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.35e-05/0.01551, allocations: 75.69 kB / 285.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.01566, allocations: 0.5312 MB / 286 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.01578, allocations: 86.33 kB / 286.1 MB, free: 3.668 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.01612, allocations: 0.6323 MB / 286.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.01637, allocations: 194.8 kB / 287 MB, free: 2.664 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.01637, allocations: 0 / 287 MB, free: 2.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004012/0.01677, allocations: 352 kB / 287.3 MB, free: 2.293 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.01681, allocations: 33.7 kB / 287.3 MB, free: 2.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.01681, allocations: 0 / 287.3 MB, free: 2.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001404/0.01695, allocations: 47.36 kB / 287.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.01713, allocations: 67.92 kB / 287.4 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.0191, allocations: 3.577 MB / 291 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.01927, allocations: 35.78 kB / 291.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.01929, allocations: 11.98 kB / 291.1 MB, free: 14.26 MB / 282.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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.01942, allocations: 184.5 kB / 291.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.01948, allocations: 55.72 kB / 291.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.403e-05/0.01954, allocations: 48.38 kB / 291.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.01954, allocations: 4 kB / 291.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.01954, allocations: 4 kB / 291.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003644/0.01991, allocations: 0.5683 MB / 291.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007145/0.02062, allocations: 0.7351 MB / 292.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.02062, allocations: 3.938 kB / 292.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.02081, allocations: 67.89 kB / 292.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.02081, allocations: 0 / 292.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.02082, allocations: 8 kB / 292.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.02083, allocations: 0 / 292.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02083, allocations: 4 kB / 292.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/0.02123, allocations: 437 kB / 293.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.02134, allocations: 83.61 kB / 293.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.02137, allocations: 11.98 kB / 293.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.02151, allocations: 12 kB / 293.3 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.02155, allocations: 27.89 kB / 293.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.02156, allocations: 4 kB / 293.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002009/0.02176, allocations: 287.1 kB / 293.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02176, allocations: 0 / 293.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000309/0.02207, allocations: 143.8 kB / 293.7 MB, free: 11.41 MB / 282.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001069/0.02217, allocations: 107.2 kB / 293.8 MB, free: 11.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005752/0.02275, allocations: 0.6088 MB / 294.4 MB, free: 10.63 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.02275, allocations: 0 / 294.4 MB, free: 10.63 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.02286, allocations: 96.09 kB / 294.5 MB, free: 10.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.02326, allocations: 137.4 kB / 294.7 MB, free: 10.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.0246, allocations: 0.796 MB / 295.5 MB, free: 9.574 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.13e-05/0.02468, allocations: 109.9 kB / 295.6 MB, free: 9.449 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.02483, allocations: 63.36 kB / 295.6 MB, free: 9.387 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.479e-05/0.0249, allocations: 36.5 kB / 295.7 MB, free: 9.352 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.0249, allocations: 0 / 295.7 MB, free: 9.352 MB / 282.7 MB Notification: Performance of Templates: time 0.01129/0.0362, allocations: 8.401 MB / 304.1 MB, free: 1.148 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0667050392366946]