Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.00131/0.00131, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001293/0.001293, allocations: 164.2 kB / 25.32 MB, free: 9.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8715/0.8715, allocations: 158.6 MB / 187.2 MB, free: 2.508 MB / 170.7 MB " [Timeout remaining time 179] 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 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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 251 MB, free: 3.613 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.939e-05, allocations: 9.406 kB / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005097/0.005127, allocations: 3.52 MB / 254.6 MB, free: 64 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.006939, allocations: 0.9744 MB / 255.5 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.007116, allocations: 7.938 kB / 255.5 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.00743, allocations: 103.1 kB / 255.6 MB, free: 14.97 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.007765, allocations: 202.2 kB / 255.8 MB, free: 14.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.008, allocations: 127.7 kB / 256 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000579/0.008579, allocations: 0.6533 MB / 256.6 MB, free: 13.99 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.00879, allocations: 127.5 kB / 256.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003151/0.009105, allocations: 379.1 kB / 257.1 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.009363, allocations: 195.5 kB / 257.3 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.7e-05/0.00944, allocations: 56 kB / 257.3 MB, free: 13.24 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.702e-05/0.009507, allocations: 52 kB / 257.4 MB, free: 13.19 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.047e-05/0.009587, allocations: 119.6 kB / 257.5 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.009765, allocations: 207.5 kB / 257.7 MB, free: 12.87 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000444/0.01021, allocations: 434.5 kB / 258.1 MB, free: 12.44 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.01021, allocations: 0 / 258.1 MB, free: 12.44 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01021, allocations: 0 / 258.1 MB, free: 12.44 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.01022, allocations: 0 / 258.1 MB, free: 12.44 MB / 250.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.0009753/0.0112, allocations: 0.8866 MB / 259 MB, free: 11.51 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.01124, allocations: 11.98 kB / 259 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.01136, allocations: 92.56 kB / 259.1 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.01191, allocations: 339.2 kB / 259.5 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.01202, allocations: 106.3 kB / 259.6 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.945e-05/0.01208, allocations: 36.38 kB / 259.6 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006024/0.01269, allocations: 0.7979 MB / 260.4 MB, free: 9.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.0127, allocations: 192 / 260.4 MB, free: 9.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.01273, allocations: 20.12 kB / 260.4 MB, free: 9.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.01275, allocations: 8 kB / 260.4 MB, free: 9.902 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.013, allocations: 151.8 kB / 260.6 MB, free: 9.758 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.01433, allocations: 0.9745 MB / 261.6 MB, free: 8.738 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006211/0.01495, allocations: 262.6 kB / 261.8 MB, free: 8.473 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.01508, allocations: 79.64 kB / 261.9 MB, free: 8.391 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.01511, allocations: 12 kB / 261.9 MB, free: 8.379 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.01513, allocations: 41.39 kB / 261.9 MB, free: 8.328 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.372e-06/0.01514, allocations: 0 / 261.9 MB, free: 8.328 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005856/0.01572, allocations: 328.6 kB / 262.3 MB, free: 7.992 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.01586, allocations: 452.9 kB / 262.7 MB, free: 7.445 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.01619, allocations: 426.7 kB / 263.1 MB, free: 7.012 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.01622, allocations: 37.7 kB / 263.2 MB, free: 6.969 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.01637, allocations: 295.2 kB / 263.4 MB, free: 6.676 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.888e-05/0.01644, allocations: 123 kB / 263.6 MB, free: 6.555 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.109e-05/0.01653, allocations: 75.67 kB / 263.6 MB, free: 6.469 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.01668, allocations: 0.5274 MB / 264.2 MB, free: 5.93 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.0168, allocations: 82.33 kB / 264.2 MB, free: 5.844 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.0171, allocations: 0.6362 MB / 264.9 MB, free: 5.039 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.01733, allocations: 190.9 kB / 265.1 MB, free: 4.84 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01733, allocations: 0 / 265.1 MB, free: 4.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003863/0.01772, allocations: 355.9 kB / 265.4 MB, free: 4.465 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.01775, allocations: 33.7 kB / 265.4 MB, free: 4.426 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.01776, allocations: 8.031 kB / 265.5 MB, free: 4.418 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001387/0.0179, allocations: 47.34 kB / 265.5 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.01807, allocations: 67.84 kB / 265.6 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.01986, allocations: 3.577 MB / 269.1 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.02002, allocations: 35.77 kB / 269.2 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.02003, allocations: 12 kB / 269.2 MB, free: 432 kB / 250.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.0001166/0.02015, allocations: 184.5 kB / 269.4 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/0.02021, allocations: 55.72 kB / 269.4 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.02026, allocations: 52.38 kB / 269.5 MB, free: 128 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.02026, allocations: 4 kB / 269.5 MB, free: 124 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.02027, allocations: 0 / 269.5 MB, free: 124 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003394/0.02061, allocations: 0.5682 MB / 270 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006669/0.02127, allocations: 0.7235 MB / 270.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.02127, allocations: 0 / 270.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.02145, allocations: 71.89 kB / 270.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.02145, allocations: 4 kB / 270.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.02147, allocations: 8 kB / 270.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.02147, allocations: 0 / 270.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.02147, allocations: 4 kB / 270.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.02185, allocations: 444.9 kB / 271.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.726e-05/0.02195, allocations: 79.78 kB / 271.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.02198, allocations: 12 kB / 271.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.02211, allocations: 15.94 kB / 271.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.02215, allocations: 23.94 kB / 271.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.02216, allocations: 8 kB / 271.4 MB, free: 14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001774/0.02234, allocations: 291.1 kB / 271.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02234, allocations: 0 / 271.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002671/0.02261, allocations: 139.8 kB / 271.9 MB, free: 13.59 MB / 266.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.27e-05/0.0227, allocations: 107.2 kB / 272 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005272/0.02323, allocations: 0.6123 MB / 272.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.02323, allocations: 0 / 272.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.02333, allocations: 99.56 kB / 272.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.0237, allocations: 125.4 kB / 272.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.02503, allocations: 0.795 MB / 273.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.814e-05/0.0251, allocations: 113.9 kB / 273.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.02523, allocations: 55.36 kB / 273.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.0253, allocations: 36.5 kB / 273.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0253, allocations: 4 kB / 273.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of Templates: time 0.009754/0.03505, allocations: 8.405 MB / 282.2 MB, free: 3.141 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.9610651433467865]