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.001282/0.001282, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001584/0.001584, allocations: 168.8 kB / 24.82 MB, free: 9.27 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 0.9685/0.9685, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.533e-06/1.533e-06, allocations: 0 / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.618e-05, allocations: 2.312 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004367/0.004383, allocations: 5.515 MB / 278.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.005965, allocations: 1.433 MB / 280.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000233/0.006199, allocations: 19.88 kB / 280.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.006526, allocations: 198.3 kB / 280.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.007004, allocations: 416.3 kB / 280.9 MB, free: 9.707 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.007312, allocations: 255.5 kB / 281.2 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009454/0.008257, allocations: 1.431 MB / 282.6 MB, free: 8.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002963/0.008553, allocations: 259.7 kB / 282.9 MB, free: 7.742 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005611/0.009114, allocations: 0.7912 MB / 283.7 MB, free: 6.949 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.009501, allocations: 442.8 kB / 284.1 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.009628, allocations: 116 kB / 284.2 MB, free: 6.402 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.009758, allocations: 120 kB / 284.3 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.009896, allocations: 263.1 kB / 284.6 MB, free: 6.027 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002838/0.01018, allocations: 447.1 kB / 285 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006378/0.01082, allocations: 0.907 MB / 285.9 MB, free: 4.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.01082, allocations: 0 / 285.9 MB, free: 4.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.01082, allocations: 0 / 285.9 MB, free: 4.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.01083, allocations: 4 kB / 285.9 MB, free: 4.676 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.001352/0.01218, allocations: 1.544 MB / 287.5 MB, free: 3.074 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.01221, allocations: 12.03 kB / 287.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.01238, allocations: 192.1 kB / 287.7 MB, free: 2.875 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.01288, allocations: 0.5356 MB / 288.2 MB, free: 2.309 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.01303, allocations: 305.9 kB / 288.5 MB, free: 1.957 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.081e-05/0.01311, allocations: 88.31 kB / 288.6 MB, free: 1.871 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1198/0.1329, allocations: 1.71 MB / 290.3 MB, free: 25.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.133, allocations: 192 / 290.3 MB, free: 25.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.65e-05/0.133, allocations: 38 kB / 290.4 MB, free: 25.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.133, allocations: 17 kB / 290.4 MB, free: 25.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.1336, allocations: 278.2 kB / 290.6 MB, free: 25.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/0.1363, allocations: 1.695 MB / 292.3 MB, free: 25.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.1376, allocations: 0.5356 MB / 292.9 MB, free: 25.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.1379, allocations: 174.2 kB / 293 MB, free: 25.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.654e-05/0.138, allocations: 23.31 kB / 293.1 MB, free: 25.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.138, allocations: 58.75 kB / 293.1 MB, free: 25.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.414e-06/0.138, allocations: 0 / 293.1 MB, free: 25.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001129/0.1391, allocations: 0.654 MB / 293.8 MB, free: 25.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.1392, allocations: 0.9562 MB / 294.7 MB, free: 24.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005995/0.1398, allocations: 0.6875 MB / 295.4 MB, free: 24.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.1399, allocations: 45.42 kB / 295.5 MB, free: 24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.1401, allocations: 498.4 kB / 295.9 MB, free: 23.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.1403, allocations: 265.5 kB / 296.2 MB, free: 23.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.1405, allocations: 163.9 kB / 296.4 MB, free: 23.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.02e-05/0.1405, allocations: 0.5082 MB / 296.9 MB, free: 23.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.1407, allocations: 179.2 kB / 297.1 MB, free: 23.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.1412, allocations: 1.471 MB / 298.5 MB, free: 21.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.1416, allocations: 407.2 kB / 298.9 MB, free: 21.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1416, allocations: 1.375 kB / 298.9 MB, free: 21.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0007921/0.1424, allocations: 0.7543 MB / 299.7 MB, free: 20.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.1424, allocations: 85.83 kB / 299.8 MB, free: 20.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1424, allocations: 1.062 kB / 299.8 MB, free: 20.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002187/0.1426, allocations: 115.9 kB / 299.9 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.1431, allocations: 146.8 kB / 300 MB, free: 20.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002588/0.1457, allocations: 8.787 MB / 308.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000452/0.1461, allocations: 88.12 kB / 308.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.1462, allocations: 21.56 kB / 308.9 MB, free: 11.8 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.0001777/0.1463, allocations: 220.3 kB / 309.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.1465, allocations: 123.1 kB / 309.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.83e-05/0.1466, allocations: 95.55 kB / 309.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.1466, allocations: 7.844 kB / 309.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1466, allocations: 0.6562 kB / 309.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005344/0.1471, allocations: 0.7309 MB / 310.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.1485, allocations: 1.186 MB / 311.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1485, allocations: 0 / 311.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004633/0.149, allocations: 146.5 kB / 311.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.697e-05/0.1491, allocations: 27.75 kB / 311.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.1491, allocations: 16.86 kB / 311.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004242/0.1495, allocations: 1.737 MB / 313.2 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1495, allocations: 1.375 kB / 313.2 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008013/0.1503, allocations: 0.7055 MB / 313.9 MB, free: 8.191 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.1506, allocations: 183.7 kB / 314.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/0.1507, allocations: 19.34 kB / 314.1 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.151, allocations: 42.19 kB / 314.1 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.1511, allocations: 43.58 kB / 314.2 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.1511, allocations: 12.5 kB / 314.2 MB, free: 8.047 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003099/0.1514, allocations: 433.6 kB / 314.6 MB, free: 7.887 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1514, allocations: 0 / 314.6 MB, free: 7.887 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00108/0.1525, allocations: 310.2 kB / 314.9 MB, free: 7.844 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.0001268/0.1527, allocations: 125.5 kB / 315 MB, free: 7.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008884/0.1535, allocations: 1.475 MB / 316.5 MB, free: 6.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1535, allocations: 2 kB / 316.5 MB, free: 6.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.1538, allocations: 353.6 kB / 316.9 MB, free: 6.312 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007887/0.1546, allocations: 283.1 kB / 317.1 MB, free: 6.215 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004981/0.1596, allocations: 1.533 MB / 318.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.1597, allocations: 166.3 kB / 318.8 MB, free: 5.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003356/0.16, allocations: 123.8 kB / 319 MB, free: 5.207 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007502/0.1608, allocations: 496.6 kB / 319.4 MB, free: 4.793 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1608, allocations: 0 / 319.4 MB, free: 4.793 MB / 266.7 MB Notification: Performance of Templates: time 0.02404/0.1848, allocations: 20.04 MB / 339.5 MB, free: 1.277 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.1556789739988744]