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.000948/0.000948, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001059/0.001059, allocations: 168.2 kB / 24.91 MB, free: 9.16 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 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.452e-06/1.452e-06, allocations: 0 / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.19e-05, allocations: 2.312 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005647/0.005669, allocations: 5.522 MB / 279 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.008025, allocations: 1.495 MB / 280.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003594/0.008384, allocations: 19.88 kB / 280.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.008744, allocations: 206.2 kB / 280.7 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005925/0.009337, allocations: 412.4 kB / 281.1 MB, free: 9.625 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.009777, allocations: 271.4 kB / 281.3 MB, free: 9.359 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.01093, allocations: 1.419 MB / 282.8 MB, free: 7.938 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.01125, allocations: 275.7 kB / 283 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007467/0.012, allocations: 0.7874 MB / 283.8 MB, free: 6.848 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000515/0.01251, allocations: 434.8 kB / 284.2 MB, free: 6.422 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.01264, allocations: 116 kB / 284.4 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.01277, allocations: 120 kB / 284.5 MB, free: 6.191 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.0129, allocations: 259.1 kB / 284.7 MB, free: 5.938 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.01323, allocations: 455 kB / 285.2 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007149/0.01394, allocations: 0.9224 MB / 286.1 MB, free: 4.566 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.01395, allocations: 0 / 286.1 MB, free: 4.566 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01395, allocations: 0 / 286.1 MB, free: 4.566 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.01397, allocations: 0 / 286.1 MB, free: 4.566 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.001281/0.01525, allocations: 1.384 MB / 287.5 MB, free: 3.137 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.01527, allocations: 12.03 kB / 287.5 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.01542, allocations: 148.8 kB / 287.6 MB, free: 2.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004563/0.01587, allocations: 425.8 kB / 288 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.01603, allocations: 301.9 kB / 288.3 MB, free: 2.188 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.708e-05/0.01611, allocations: 84.38 kB / 288.4 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008589/0.01696, allocations: 1.643 MB / 290.1 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.01698, allocations: 192 / 290.1 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.01702, allocations: 48.09 kB / 290.1 MB, free: 80 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.01703, allocations: 20 kB / 290.1 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1045/0.1215, allocations: 223.5 kB / 290.4 MB, free: 26.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.124, allocations: 1.272 MB / 291.6 MB, free: 26.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.1251, allocations: 496.6 kB / 292.1 MB, free: 26.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.1254, allocations: 157.4 kB / 292.3 MB, free: 26.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.808e-05/0.1254, allocations: 16.02 kB / 292.3 MB, free: 26.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.1254, allocations: 52.16 kB / 292.3 MB, free: 26.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.935e-06/0.1254, allocations: 4.062 kB / 292.3 MB, free: 26.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.0009507/0.1264, allocations: 0.5215 MB / 292.9 MB, free: 26.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.1265, allocations: 0.9501 MB / 293.8 MB, free: 25.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004841/0.127, allocations: 0.5796 MB / 294.4 MB, free: 24.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.1271, allocations: 45.61 kB / 294.4 MB, free: 24.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.1272, allocations: 323.9 kB / 294.7 MB, free: 24.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.1273, allocations: 266.1 kB / 295 MB, free: 24.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.1275, allocations: 160.7 kB / 295.2 MB, free: 24.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.186e-05/0.1275, allocations: 334.8 kB / 295.5 MB, free: 24.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.1277, allocations: 162.4 kB / 295.6 MB, free: 24.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/0.1281, allocations: 1.349 MB / 297 MB, free: 22.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.1284, allocations: 383.2 kB / 297.4 MB, free: 22.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1284, allocations: 3.531 kB / 297.4 MB, free: 22.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005911/0.129, allocations: 0.6105 MB / 298 MB, free: 22.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.1291, allocations: 88.05 kB / 298.1 MB, free: 22.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1291, allocations: 1.859 kB / 298.1 MB, free: 22.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002015/0.1293, allocations: 97.97 kB / 298.2 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.1296, allocations: 145.1 kB / 298.3 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.1317, allocations: 5.984 MB / 304.3 MB, free: 16.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.1321, allocations: 92.59 kB / 304.4 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.1321, allocations: 17.25 kB / 304.4 MB, free: 16.49 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.0001617/0.1323, allocations: 167.8 kB / 304.6 MB, free: 16.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1324, allocations: 95.53 kB / 304.7 MB, free: 16.37 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.134e-05/0.1325, allocations: 96.88 kB / 304.8 MB, free: 16.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1325, allocations: 7.812 kB / 304.8 MB, free: 16.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.1325, allocations: 3.938 kB / 304.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003926/0.1329, allocations: 0.6491 MB / 305.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.1341, allocations: 0.9129 MB / 306.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1341, allocations: 0 / 306.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/0.1344, allocations: 146 kB / 306.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-05/0.1345, allocations: 24.84 kB / 306.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.1345, allocations: 14.47 kB / 306.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003085/0.1348, allocations: 1.181 MB / 307.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1348, allocations: 13.38 kB / 307.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/0.1354, allocations: 0.5513 MB / 308.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.1356, allocations: 100.2 kB / 308.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/0.1356, allocations: 20.52 kB / 308.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.1359, allocations: 36.84 kB / 308.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.136, allocations: 51.05 kB / 308.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.136, allocations: 16.48 kB / 308.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002291/0.1362, allocations: 291 kB / 308.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1362, allocations: 0 / 308.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005339/0.1368, allocations: 306.5 kB / 309.1 MB, free: 14.04 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.0001413/0.1369, allocations: 111.2 kB / 309.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007895/0.1377, allocations: 1.167 MB / 310.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/0.1377, allocations: 9.188 kB / 310.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.1379, allocations: 288 kB / 310.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/0.1385, allocations: 282.2 kB / 310.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.1401, allocations: 1.477 MB / 312.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.781e-05/0.1402, allocations: 176.7 kB / 312.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002968/0.1405, allocations: 116.3 kB / 312.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005696/0.1411, allocations: 433.8 kB / 313.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of SimCode: time 1.253e-06/0.1411, allocations: 0 / 313.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of Templates: time 0.0198/0.1609, allocations: 20.03 MB / 333.1 MB, free: 8.559 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.261313557624817]