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.001372/0.001372, allocations: 84.3 kB / 22.21 MB, free: 2.293 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.001017/0.001017, allocations: 166.5 kB / 25.6 MB, free: 8.578 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.923/0.923, allocations: 158.6 MB / 187.5 MB, free: 2.809 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.763e-06/1.763e-06, allocations: 0 / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.45e-05, allocations: 2.312 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006275/0.006299, allocations: 5.495 MB / 257 MB, free: 1.73 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.008798, allocations: 1.441 MB / 258.4 MB, free: 280 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005546/0.009353, allocations: 19.88 kB / 258.4 MB, free: 260 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004184/0.009771, allocations: 190.3 kB / 258.6 MB, free: 68 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007178/0.01049, allocations: 420.4 kB / 259 MB, free: 15.65 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.01094, allocations: 271.5 kB / 259.3 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.01214, allocations: 1.413 MB / 260.7 MB, free: 13.97 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003464/0.01249, allocations: 267.6 kB / 261 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000902/0.01339, allocations: 0.7952 MB / 261.8 MB, free: 12.89 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005126/0.0139, allocations: 434.8 kB / 262.2 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.01405, allocations: 116 kB / 262.3 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.01421, allocations: 120 kB / 262.4 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003903/0.0146, allocations: 267 kB / 262.7 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003842/0.01498, allocations: 443.1 kB / 263.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008549/0.01584, allocations: 0.9108 MB / 264 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.01584, allocations: 0 / 264 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01584, allocations: 0 / 264 MB, free: 10.62 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.042e-05/0.01587, allocations: 0 / 264 MB, free: 10.62 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.001635/0.01751, allocations: 1.544 MB / 265.6 MB, free: 9.02 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.01755, allocations: 15.98 kB / 265.6 MB, free: 9.004 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.01777, allocations: 196.1 kB / 265.8 MB, free: 8.812 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006039/0.01837, allocations: 0.5394 MB / 266.3 MB, free: 8.242 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.01854, allocations: 305.9 kB / 266.6 MB, free: 7.891 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.624e-05/0.01862, allocations: 84.38 kB / 266.7 MB, free: 7.809 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.01967, allocations: 1.727 MB / 268.4 MB, free: 5.703 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.01969, allocations: 192 / 268.4 MB, free: 5.703 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.82e-05/0.01974, allocations: 40.12 kB / 268.4 MB, free: 5.664 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.01975, allocations: 16 kB / 268.5 MB, free: 5.648 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.02011, allocations: 273.7 kB / 268.7 MB, free: 5.383 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002463/0.02257, allocations: 1.692 MB / 270.4 MB, free: 3.648 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.02366, allocations: 0.5321 MB / 271 MB, free: 3.102 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.02391, allocations: 177.5 kB / 271.1 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.65e-05/0.02395, allocations: 20.66 kB / 271.1 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.02399, allocations: 54.75 kB / 271.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 1.824e-06/0.02399, allocations: 0 / 271.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.001028/0.02501, allocations: 0.6635 MB / 271.9 MB, free: 2.152 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002784/0.02529, allocations: 0.9528 MB / 272.8 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004972/0.02579, allocations: 0.6826 MB / 273.5 MB, free: 280 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.02584, allocations: 49.7 kB / 273.5 MB, free: 224 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/0.02611, allocations: 495.4 kB / 274 MB, free: 15.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.02626, allocations: 269.6 kB / 274.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.02642, allocations: 164.2 kB / 274.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.02655, allocations: 0.5042 MB / 275 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.02674, allocations: 179 kB / 275.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.02787, allocations: 1.469 MB / 276.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.02823, allocations: 410 kB / 277 MB, free: 12.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.02823, allocations: 0 / 277 MB, free: 12.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0007169/0.02895, allocations: 0.7591 MB / 277.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/0.029, allocations: 85.09 kB / 277.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.029, allocations: 4 kB / 277.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002001/0.0292, allocations: 114.5 kB / 278 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.02954, allocations: 147.8 kB / 278.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003746/0.03328, allocations: 8.793 MB / 286.9 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005005/0.03378, allocations: 79.59 kB / 287 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.03382, allocations: 24.02 kB / 287 MB, free: 1.605 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.0002372/0.03406, allocations: 216.4 kB / 287.2 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.03418, allocations: 119.4 kB / 287.3 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.975e-05/0.03427, allocations: 99.94 kB / 287.4 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.03427, allocations: 8 kB / 287.4 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.03428, allocations: 0 / 287.4 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00052/0.0348, allocations: 0.7267 MB / 288.2 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.03609, allocations: 1.17 MB / 289.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.03609, allocations: 0 / 289.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.03655, allocations: 155.8 kB / 289.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.646e-05/0.03665, allocations: 27.77 kB / 289.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.532e-05/0.03669, allocations: 15.98 kB / 289.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008986/0.03759, allocations: 1.741 MB / 291.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.03759, allocations: 0 / 291.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006762/0.03827, allocations: 0.7254 MB / 292 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.0385, allocations: 171.2 kB / 292.2 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/0.03857, allocations: 23.98 kB / 292.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.03886, allocations: 35.92 kB / 292.2 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.03892, allocations: 44.56 kB / 292.3 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.03894, allocations: 15.98 kB / 292.3 MB, free: 12.01 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000269/0.03921, allocations: 426.8 kB / 292.7 MB, free: 11.6 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03921, allocations: 0 / 292.7 MB, free: 11.6 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005827/0.03979, allocations: 299.7 kB / 293 MB, free: 11.3 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.0001225/0.03991, allocations: 131.1 kB / 293.1 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009684/0.04088, allocations: 1.473 MB / 294.6 MB, free: 9.543 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.04089, allocations: 8 kB / 294.6 MB, free: 9.535 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.04115, allocations: 354.4 kB / 294.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006629/0.04181, allocations: 286.7 kB / 295.2 MB, free: 8.891 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.04392, allocations: 1.524 MB / 296.7 MB, free: 7.328 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.04404, allocations: 177.3 kB / 296.9 MB, free: 7.133 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003308/0.04437, allocations: 114.9 kB / 297 MB, free: 7.016 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009395/0.04531, allocations: 0.4901 MB / 297.5 MB, free: 6.523 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.04531, allocations: 3.938 kB / 297.5 MB, free: 6.52 MB / 282.7 MB Notification: Performance of Templates: time 0.02223/0.06755, allocations: 20 MB / 317.5 MB, free: 2.535 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 -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.3856829148717225]