Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009196/0.0009196, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009789/0.0009789, allocations: 170.6 kB / 24.99 MB, free: 8.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9746/0.9746, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 273 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036e-05/1.146e-05, allocations: 6.312 kB / 273 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004063/0.004074, allocations: 5.598 MB / 278.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.005448, allocations: 1.437 MB / 280.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.005648, allocations: 11.94 kB / 280.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.005953, allocations: 194.3 kB / 280.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004387/0.006392, allocations: 420.4 kB / 280.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.006666, allocations: 263.5 kB / 281 MB, free: 9.902 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008252/0.007492, allocations: 1.426 MB / 282.4 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.007784, allocations: 259.6 kB / 282.6 MB, free: 8.195 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004958/0.00828, allocations: 0.7914 MB / 283.4 MB, free: 7.402 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003582/0.008638, allocations: 438.7 kB / 283.9 MB, free: 6.973 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.008739, allocations: 116 kB / 284 MB, free: 6.859 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.008857, allocations: 120 kB / 284.1 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.008988, allocations: 267.1 kB / 284.3 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000286/0.009274, allocations: 451 kB / 284.8 MB, free: 6.039 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006216/0.009896, allocations: 0.9186 MB / 285.7 MB, free: 5.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.009898, allocations: 0 / 285.7 MB, free: 5.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.009899, allocations: 4 kB / 285.7 MB, free: 5.113 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.009906, allocations: 0 / 285.7 MB, free: 5.113 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001432/0.01134, allocations: 1.536 MB / 287.2 MB, free: 3.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.01137, allocations: 8.031 kB / 287.2 MB, free: 3.512 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.01155, allocations: 196.2 kB / 287.4 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/0.01212, allocations: 0.5609 MB / 288 MB, free: 2.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.01227, allocations: 305.9 kB / 288.3 MB, free: 2.375 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.648e-05/0.01236, allocations: 88.36 kB / 288.4 MB, free: 2.289 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.01341, allocations: 1.766 MB / 290.2 MB, free: 152 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.01343, allocations: 192 / 290.2 MB, free: 152 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.883e-05/0.01348, allocations: 36.12 kB / 290.2 MB, free: 116 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.01349, allocations: 16 kB / 290.2 MB, free: 100 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005282/0.01402, allocations: 347.7 kB / 290.5 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.01611, allocations: 1.816 MB / 292.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.01732, allocations: 0.5726 MB / 292.9 MB, free: 13.31 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.01763, allocations: 197.5 kB / 293.1 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.01766, allocations: 16.66 kB / 293.1 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.01769, allocations: 55.91 kB / 293.2 MB, free: 13.03 MB / 282.7 MB Notification: Performance of pre-optimization done (n=72): time 1.693e-06/0.01769, allocations: 0 / 293.2 MB, free: 13.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.001123/0.01882, allocations: 0.7261 MB / 293.9 MB, free: 12.28 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002539/0.01907, allocations: 0.945 MB / 294.9 MB, free: 11.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005609/0.01963, allocations: 0.7142 MB / 295.6 MB, free: 10.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.01968, allocations: 45.7 kB / 295.6 MB, free: 10.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.01991, allocations: 487.5 kB / 296.1 MB, free: 9.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.02004, allocations: 261.8 kB / 296.4 MB, free: 9.582 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.0202, allocations: 164.3 kB / 296.5 MB, free: 9.414 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.02032, allocations: 0.5004 MB / 297 MB, free: 8.906 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/0.02065, allocations: 211 kB / 297.2 MB, free: 8.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008626/0.02151, allocations: 1.497 MB / 298.7 MB, free: 6.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/0.02221, allocations: 466 kB / 299.2 MB, free: 6.289 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.02222, allocations: 3.938 kB / 299.2 MB, free: 6.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001129/0.02335, allocations: 0.8178 MB / 300 MB, free: 5.402 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/0.0234, allocations: 85.11 kB / 300.1 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.0234, allocations: 7.984 kB / 300.1 MB, free: 5.293 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002774/0.02368, allocations: 138.3 kB / 300.2 MB, free: 5.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/0.02416, allocations: 135.9 kB / 300.4 MB, free: 5.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1064/0.1305, allocations: 8.902 MB / 309.3 MB, free: 37.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005943/0.1311, allocations: 84.06 kB / 309.3 MB, free: 37.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.1311, allocations: 27.39 kB / 309.4 MB, free: 37.16 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002166/0.1314, allocations: 215.9 kB / 309.6 MB, free: 37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.1315, allocations: 122.6 kB / 309.7 MB, free: 37 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.208e-05/0.1316, allocations: 99.09 kB / 309.8 MB, free: 36.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1316, allocations: 6.406 kB / 309.8 MB, free: 36.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1316, allocations: 1.062 kB / 309.8 MB, free: 36.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006084/0.1322, allocations: 0.7699 MB / 310.6 MB, free: 36.44 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.1336, allocations: 1.324 MB / 311.9 MB, free: 36.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1336, allocations: 2.359 kB / 311.9 MB, free: 36.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.134, allocations: 150.7 kB / 312 MB, free: 36.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.386e-05/0.1341, allocations: 29.41 kB / 312.1 MB, free: 36.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.1341, allocations: 18.42 kB / 312.1 MB, free: 36.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004022/0.1345, allocations: 1.766 MB / 313.9 MB, free: 34.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1345, allocations: 1.094 kB / 313.9 MB, free: 34.31 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008876/0.1354, allocations: 0.7723 MB / 314.6 MB, free: 34.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.1356, allocations: 178 kB / 314.8 MB, free: 33.95 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.1e-05/0.1357, allocations: 22.59 kB / 314.8 MB, free: 33.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.136, allocations: 36.83 kB / 314.9 MB, free: 33.92 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.1361, allocations: 50.78 kB / 314.9 MB, free: 33.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.1361, allocations: 18.05 kB / 314.9 MB, free: 33.91 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003898/0.1365, allocations: 466.6 kB / 315.4 MB, free: 33.7 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1365, allocations: 0 / 315.4 MB, free: 33.7 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000498/0.137, allocations: 301.8 kB / 315.7 MB, free: 33.66 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001121/0.1371, allocations: 125.2 kB / 315.8 MB, free: 33.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009596/0.138, allocations: 1.523 MB / 317.3 MB, free: 32.31 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.138, allocations: 2.406 kB / 317.3 MB, free: 32.31 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.1383, allocations: 374.8 kB / 317.7 MB, free: 32.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006464/0.139, allocations: 280.6 kB / 318 MB, free: 32.01 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.141, allocations: 1.544 MB / 319.5 MB, free: 31.17 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.1412, allocations: 170.6 kB / 319.7 MB, free: 31.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003372/0.1415, allocations: 118 kB / 319.8 MB, free: 31.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.1417, allocations: 77.22 kB / 319.9 MB, free: 31.06 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1417, allocations: 0 / 319.9 MB, free: 31.06 MB / 282.7 MB Notification: Performance of Templates: time 0.01701/0.1587, allocations: 18.77 MB / 338.6 MB, free: 17 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.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.249683297937736]