Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009753/0.0009753, 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.000963/0.000963, allocations: 168.1 kB / 25.33 MB, free: 9.449 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.9061/0.9061, allocations: 158.6 MB / 187.2 MB, free: 2.551 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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.88e-05, allocations: 6.312 kB / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007022/0.007051, allocations: 5.599 MB / 256.6 MB, free: 13.97 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003411/0.01046, allocations: 1.449 MB / 258.1 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000612/0.01107, allocations: 19.88 kB / 258.1 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004851/0.01156, allocations: 190.3 kB / 258.3 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008715/0.01243, allocations: 420.3 kB / 258.7 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005924/0.01302, allocations: 263.5 kB / 259 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.01463, allocations: 1.413 MB / 260.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004826/0.01511, allocations: 275.6 kB / 260.6 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.01617, allocations: 0.7796 MB / 261.4 MB, free: 9.133 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007006/0.01688, allocations: 446.7 kB / 261.9 MB, free: 8.695 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002154/0.01709, allocations: 116 kB / 262 MB, free: 8.582 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.0173, allocations: 124 kB / 262.1 MB, free: 8.461 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.01751, allocations: 259.1 kB / 262.3 MB, free: 8.207 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005895/0.0181, allocations: 451 kB / 262.8 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.01934, allocations: 0.9148 MB / 263.7 MB, free: 6.848 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.01934, allocations: 4 kB / 263.7 MB, free: 6.844 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.01934, allocations: 4 kB / 263.7 MB, free: 6.84 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.438e-05/0.01937, allocations: 0 / 263.7 MB, free: 6.84 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002822/0.02219, allocations: 1.532 MB / 265.2 MB, free: 5.25 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/0.02225, allocations: 11.98 kB / 265.3 MB, free: 5.238 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003951/0.02265, allocations: 196.2 kB / 265.4 MB, free: 5.047 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.02371, allocations: 0.5609 MB / 266 MB, free: 4.457 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/0.02399, allocations: 301.9 kB / 266.3 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.02412, allocations: 84.38 kB / 266.4 MB, free: 4.023 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.02573, allocations: 1.778 MB / 268.2 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.02575, allocations: 4.188 kB / 268.2 MB, free: 1.867 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.131e-05/0.02582, allocations: 36.06 kB / 268.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.02584, allocations: 16 kB / 268.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007949/0.02664, allocations: 351.7 kB / 268.6 MB, free: 1.473 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003353/0.02999, allocations: 1.805 MB / 270.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.03177, allocations: 0.5719 MB / 270.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005428/0.03231, allocations: 197.5 kB / 271.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.528e-05/0.03238, allocations: 20.64 kB / 271.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.03242, allocations: 58.05 kB / 271.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.384e-06/0.03242, allocations: 0 / 271.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001648/0.03407, allocations: 0.7299 MB / 271.9 MB, free: 14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003333/0.03441, allocations: 0.9489 MB / 272.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006148/0.03502, allocations: 0.7103 MB / 273.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/0.03507, allocations: 45.7 kB / 273.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/0.03537, allocations: 487.5 kB / 274.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.03551, allocations: 257.7 kB / 274.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.03568, allocations: 164.3 kB / 274.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.03582, allocations: 0.5004 MB / 275 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.03607, allocations: 211 kB / 275.2 MB, free: 10.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007887/0.03686, allocations: 1.492 MB / 276.7 MB, free: 8.504 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000524/0.03739, allocations: 466.2 kB / 277.2 MB, free: 8.016 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.03739, allocations: 7.938 kB / 277.2 MB, free: 8.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0008787/0.03827, allocations: 0.8216 MB / 278 MB, free: 7.117 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.446e-05/0.03833, allocations: 96.19 kB / 278.1 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.03833, allocations: 0 / 278.1 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002636/0.0386, allocations: 122.4 kB / 278.2 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.03896, allocations: 143.8 kB / 278.4 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004162/0.04312, allocations: 8.911 MB / 287.3 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/0.04349, allocations: 91.67 kB / 287.4 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.04353, allocations: 23.94 kB / 287.4 MB, free: 13.09 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.0001918/0.04372, allocations: 208.5 kB / 287.6 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.04384, allocations: 123.4 kB / 287.7 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.357e-05/0.04392, allocations: 96.23 kB / 287.8 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.04393, allocations: 11.98 kB / 287.8 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.04393, allocations: 4 kB / 287.8 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005928/0.04453, allocations: 0.7774 MB / 288.6 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.04614, allocations: 1.318 MB / 289.9 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.04614, allocations: 0 / 289.9 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.0465, allocations: 155.8 kB / 290.1 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.669e-05/0.04657, allocations: 23.67 kB / 290.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.0466, allocations: 19.98 kB / 290.1 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006336/0.04723, allocations: 1.76 MB / 291.9 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.04724, allocations: 0 / 291.9 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000805/0.04804, allocations: 0.7803 MB / 292.7 MB, free: 7.488 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.04826, allocations: 179.2 kB / 292.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.671e-05/0.04832, allocations: 19.98 kB / 292.8 MB, free: 7.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.04859, allocations: 31.98 kB / 292.9 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.04865, allocations: 48.56 kB / 292.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.04868, allocations: 19.98 kB / 292.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003349/0.04901, allocations: 470.9 kB / 293.4 MB, free: 6.742 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04901, allocations: 0 / 293.4 MB, free: 6.742 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004791/0.04949, allocations: 295.7 kB / 293.7 MB, free: 6.453 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.0001224/0.04961, allocations: 127.1 kB / 293.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.05073, allocations: 1.524 MB / 295.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.05073, allocations: 0 / 295.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003361/0.05107, allocations: 386.4 kB / 295.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006493/0.05172, allocations: 289.2 kB / 296 MB, free: 3.965 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.05401, allocations: 1.513 MB / 297.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.05411, allocations: 177.3 kB / 297.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002547/0.05437, allocations: 122.9 kB / 297.8 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.05451, allocations: 68.5 kB / 297.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.05452, allocations: 4 kB / 297.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of Templates: time 0.1204/0.1749, allocations: 18.74 MB / 316.6 MB, free: 47.82 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.5045956959947944]