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.001347/0.001347, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001434/0.001434, allocations: 156.5 kB / 24.55 MB, free: 16 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 0.9471/0.9471, allocations: 177 MB / 204.8 MB, free: 5.258 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.392e-06/1.392e-06, allocations: 0 / 272.9 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.22e-05, allocations: 2.312 kB / 272.9 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003563/0.003585, allocations: 3.546 MB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.005114, allocations: 0.9578 MB / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.00531, allocations: 11.94 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.00559, allocations: 99.12 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.005896, allocations: 202.2 kB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.006126, allocations: 123.7 kB / 277.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005258/0.006652, allocations: 0.6611 MB / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.006834, allocations: 127.5 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.007103, allocations: 375.1 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.007315, allocations: 203.5 kB / 279.2 MB, free: 11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.719e-05/0.007372, allocations: 52 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.729e-05/0.007429, allocations: 52 kB / 279.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.749e-05/0.007497, allocations: 127.5 kB / 279.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.007633, allocations: 199.6 kB / 279.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.007979, allocations: 426.5 kB / 280 MB, free: 10.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.007982, allocations: 0 / 280 MB, free: 10.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.007983, allocations: 3.938 kB / 280 MB, free: 10.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.007989, allocations: 0 / 280 MB, free: 10.16 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.0008663/0.008856, allocations: 0.8826 MB / 280.9 MB, free: 9.234 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.00889, allocations: 11.98 kB / 280.9 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.891e-05/0.008989, allocations: 92.56 kB / 281 MB, free: 9.133 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.009356, allocations: 326.6 kB / 281.3 MB, free: 8.785 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.344e-05/0.009449, allocations: 114.3 kB / 281.4 MB, free: 8.656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.009496, allocations: 36.38 kB / 281.5 MB, free: 8.621 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.01002, allocations: 0.7979 MB / 282.3 MB, free: 7.656 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.01003, allocations: 4.188 kB / 282.3 MB, free: 7.652 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.01006, allocations: 20.12 kB / 282.3 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.01007, allocations: 8 kB / 282.3 MB, free: 7.625 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/0.01031, allocations: 151.8 kB / 282.4 MB, free: 7.473 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.01147, allocations: 0.9745 MB / 283.4 MB, free: 6.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005828/0.01206, allocations: 255.9 kB / 283.7 MB, free: 6.191 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.01217, allocations: 83.64 kB / 283.8 MB, free: 6.105 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.01219, allocations: 8 kB / 283.8 MB, free: 6.098 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.01222, allocations: 45.39 kB / 283.8 MB, free: 6.043 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.01222, allocations: 0 / 283.8 MB, free: 6.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005381/0.01276, allocations: 328.6 kB / 284.1 MB, free: 5.707 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.01289, allocations: 452.9 kB / 284.6 MB, free: 5.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.01318, allocations: 422.7 kB / 285 MB, free: 4.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.01321, allocations: 37.7 kB / 285 MB, free: 4.688 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.01334, allocations: 299.2 kB / 285.3 MB, free: 4.391 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/0.0134, allocations: 115 kB / 285.4 MB, free: 4.277 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/0.01348, allocations: 79.69 kB / 285.5 MB, free: 4.188 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.01361, allocations: 0.5312 MB / 286 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.01372, allocations: 82.33 kB / 286.1 MB, free: 3.559 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.014, allocations: 0.6322 MB / 286.7 MB, free: 2.758 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.01421, allocations: 194.9 kB / 286.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01421, allocations: 3.938 kB / 286.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003532/0.01457, allocations: 356 kB / 287.3 MB, free: 2.176 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.01459, allocations: 29.7 kB / 287.3 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.0146, allocations: 8.031 kB / 287.3 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001167/0.01472, allocations: 39.36 kB / 287.4 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.01489, allocations: 71.89 kB / 287.4 MB, free: 2.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.01646, allocations: 3.581 MB / 291 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.01662, allocations: 31.78 kB / 291 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.01664, allocations: 15.98 kB / 291.1 MB, free: 14.14 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.0001189/0.01675, allocations: 184.5 kB / 291.2 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.01681, allocations: 55.72 kB / 291.3 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.01686, allocations: 52.38 kB / 291.3 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-06/0.01686, allocations: 4 kB / 291.4 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.01686, allocations: 0 / 291.4 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003175/0.01718, allocations: 0.5644 MB / 291.9 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006817/0.01786, allocations: 0.7351 MB / 292.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01786, allocations: 0 / 292.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.01805, allocations: 71.89 kB / 292.7 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.01805, allocations: 0 / 292.7 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.01807, allocations: 12 kB / 292.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01807, allocations: 0 / 292.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01807, allocations: 0 / 292.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.01844, allocations: 440.9 kB / 293.2 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.662e-05/0.01854, allocations: 79.61 kB / 293.2 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.436e-05/0.01857, allocations: 15.98 kB / 293.3 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.0187, allocations: 12.19 kB / 293.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.01874, allocations: 15.95 kB / 293.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.01875, allocations: 15.98 kB / 293.3 MB, free: 11.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001785/0.01893, allocations: 287.1 kB / 293.6 MB, free: 11.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01893, allocations: 0 / 293.6 MB, free: 11.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002726/0.0192, allocations: 143.8 kB / 293.7 MB, free: 11.29 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 9.278e-05/0.01929, allocations: 107.2 kB / 293.8 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005219/0.01982, allocations: 0.6126 MB / 294.4 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.01982, allocations: 0 / 294.4 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.01992, allocations: 100.1 kB / 294.5 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.0203, allocations: 129.4 kB / 294.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.02157, allocations: 0.7999 MB / 295.5 MB, free: 9.449 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.448e-05/0.02163, allocations: 113.9 kB / 295.6 MB, free: 9.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.00014/0.02177, allocations: 59.36 kB / 295.6 MB, free: 9.262 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.02185, allocations: 36.5 kB / 295.7 MB, free: 9.227 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02185, allocations: 0 / 295.7 MB, free: 9.227 MB / 282.7 MB Notification: Performance of Templates: time 0.01029/0.03213, allocations: 8.832 MB / 304.5 MB, free: 0.5977 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: 2.8079186328686774]