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.001242/0.001242, allocations: 76.81 kB / 22.28 MB, free: 2.207 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.001442/0.001442, allocations: 163.3 kB / 25.7 MB, free: 8.438 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.945/0.945, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.634e-06/1.634e-06, allocations: 0 / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.561e-05, allocations: 2.312 kB / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006625/0.00665, allocations: 5.561 MB / 257.1 MB, free: 1.641 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002776/0.009426, allocations: 1.503 MB / 258.6 MB, free: 124 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004516/0.009878, allocations: 19.88 kB / 258.6 MB, free: 104 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004261/0.0103, allocations: 202.2 kB / 258.8 MB, free: 15.9 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006764/0.01098, allocations: 416.4 kB / 259.3 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.0114, allocations: 263.5 kB / 259.5 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001135/0.01253, allocations: 1.419 MB / 260.9 MB, free: 13.81 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003365/0.01287, allocations: 283.6 kB / 261.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007985/0.01367, allocations: 0.7874 MB / 262 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005008/0.01417, allocations: 434.8 kB / 262.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.0143, allocations: 120 kB / 262.5 MB, free: 12.17 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.01443, allocations: 120 kB / 262.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.01455, allocations: 263.1 kB / 262.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003402/0.01489, allocations: 451 kB / 263.3 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007584/0.01565, allocations: 0.9108 MB / 264.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.01566, allocations: 0 / 264.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01566, allocations: 4 kB / 264.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.01568, allocations: 0 / 264.3 MB, free: 10.43 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.001282/0.01696, allocations: 1.384 MB / 265.6 MB, free: 9.004 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.01699, allocations: 11.98 kB / 265.7 MB, free: 8.992 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.01713, allocations: 152.8 kB / 265.8 MB, free: 8.844 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.0176, allocations: 429.8 kB / 266.2 MB, free: 8.395 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.01775, allocations: 305.9 kB / 266.5 MB, free: 8.043 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.485e-05/0.01783, allocations: 84.38 kB / 266.6 MB, free: 7.961 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008264/0.01865, allocations: 1.651 MB / 268.3 MB, free: 5.973 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.01867, allocations: 192 / 268.3 MB, free: 5.973 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.01871, allocations: 32.12 kB / 268.3 MB, free: 5.941 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.01872, allocations: 20 kB / 268.3 MB, free: 5.922 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.01901, allocations: 229.8 kB / 268.5 MB, free: 5.699 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.02075, allocations: 1.277 MB / 269.8 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009473/0.0217, allocations: 486.8 kB / 270.3 MB, free: 3.902 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.0219, allocations: 162.4 kB / 270.4 MB, free: 3.746 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.02194, allocations: 16.66 kB / 270.5 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.749e-05/0.02204, allocations: 51.22 kB / 270.5 MB, free: 3.672 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 2.224e-06/0.02204, allocations: 0 / 270.5 MB, free: 3.672 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.0007786/0.02282, allocations: 0.5291 MB / 271 MB, free: 3.121 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002437/0.02306, allocations: 0.9489 MB / 272 MB, free: 1.945 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.02342, allocations: 0.5819 MB / 272.6 MB, free: 1.355 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.02346, allocations: 45.7 kB / 272.6 MB, free: 1.305 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.0236, allocations: 322.6 kB / 272.9 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.02373, allocations: 261.7 kB / 273.2 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.02387, allocations: 162.5 kB / 273.3 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.02395, allocations: 337.8 kB / 273.7 MB, free: 232 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.02409, allocations: 163.1 kB / 273.8 MB, free: 52 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.02461, allocations: 1.346 MB / 275.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.02493, allocations: 383.7 kB / 275.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.02493, allocations: 0 / 275.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005268/0.02546, allocations: 0.6149 MB / 276.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/0.0255, allocations: 89.09 kB / 276.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.02551, allocations: 3.984 kB / 276.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001918/0.0257, allocations: 92.22 kB / 276.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.02613, allocations: 183.9 kB / 276.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/0.02898, allocations: 5.996 MB / 282.5 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000451/0.02943, allocations: 91.53 kB / 282.6 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.02947, allocations: 16 kB / 282.6 MB, free: 6.328 MB / 266.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.000222/0.02969, allocations: 169.8 kB / 282.8 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.246e-05/0.02979, allocations: 91.83 kB / 282.9 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.603e-05/0.02987, allocations: 92.02 kB / 283 MB, free: 5.969 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.02988, allocations: 12.17 kB / 283 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.02989, allocations: 0 / 283 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004518/0.03034, allocations: 0.6577 MB / 283.6 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.03149, allocations: 0.91 MB / 284.6 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.03149, allocations: 4 kB / 284.6 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/0.03193, allocations: 191.6 kB / 284.8 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.815e-05/0.032, allocations: 20.84 kB / 284.8 MB, free: 4.031 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.03203, allocations: 15.98 kB / 284.8 MB, free: 4.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004881/0.03252, allocations: 1.179 MB / 286 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.03252, allocations: 0 / 286 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/0.03306, allocations: 0.5626 MB / 286.5 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.03325, allocations: 103.3 kB / 286.6 MB, free: 2.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.776e-05/0.03331, allocations: 12 kB / 286.6 MB, free: 2.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.03358, allocations: 39.97 kB / 286.7 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.03365, allocations: 52.5 kB / 286.7 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.03367, allocations: 8 kB / 286.7 MB, free: 1.961 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002031/0.03387, allocations: 292.5 kB / 287 MB, free: 1.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03387, allocations: 4 kB / 287 MB, free: 1.676 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004883/0.03436, allocations: 303.6 kB / 287.3 MB, free: 1.379 MB / 266.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.0001273/0.03449, allocations: 104.3 kB / 287.4 MB, free: 1.266 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008772/0.03536, allocations: 1.17 MB / 288.6 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/0.03538, allocations: 12 kB / 288.6 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.03562, allocations: 292.3 kB / 288.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.03618, allocations: 290.5 kB / 289.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.03807, allocations: 1.456 MB / 290.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.03819, allocations: 177.4 kB / 290.8 MB, free: 13.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003259/0.03852, allocations: 123 kB / 290.9 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007927/0.03931, allocations: 429 kB / 291.3 MB, free: 13.14 MB / 282.7 MB Notification: Performance of SimCode: time 1.392e-06/0.03931, allocations: 0 / 291.3 MB, free: 13.14 MB / 282.7 MB Notification: Performance of Templates: time 0.02217/0.06148, allocations: 20.29 MB / 311.6 MB, free: 8.852 MB / 298.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 -s gbode -gbm=radauIIA3 -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.2866059481166303]