Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009233/0.0009233, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008534/0.0008534, allocations: 149 kB / 24.81 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.003/1.003, allocations: 173.3 MB / 201.4 MB, free: 9.234 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 268.4 MB, free: 6.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11e-05/1.277e-05, allocations: 2.312 kB / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005639/0.005652, allocations: 5.5 MB / 273.9 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.007823, allocations: 1.413 MB / 275.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003225/0.008146, allocations: 15.94 kB / 275.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000406/0.008552, allocations: 190.3 kB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006468/0.009198, allocations: 420.4 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.009655, allocations: 263.5 kB / 276.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001243/0.0109, allocations: 1.424 MB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006185/0.01152, allocations: 263.6 kB / 277.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007899/0.01231, allocations: 0.7952 MB / 278.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005009/0.01281, allocations: 434.8 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.01296, allocations: 116 kB / 279.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.01313, allocations: 120 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.0133, allocations: 271 kB / 279.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003935/0.0137, allocations: 447.1 kB / 280 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008613/0.01456, allocations: 0.8992 MB / 280.9 MB, free: 9.629 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.01456, allocations: 0 / 280.9 MB, free: 9.629 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01456, allocations: 8 kB / 280.9 MB, free: 9.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.01457, allocations: 0 / 280.9 MB, free: 9.621 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.001748/0.01632, allocations: 1.54 MB / 282.5 MB, free: 8.023 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.01636, allocations: 8.031 kB / 282.5 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.01657, allocations: 192.2 kB / 282.7 MB, free: 7.828 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006284/0.0172, allocations: 0.5356 MB / 283.2 MB, free: 7.262 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.01739, allocations: 305.9 kB / 283.5 MB, free: 6.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.01749, allocations: 84.38 kB / 283.6 MB, free: 6.828 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.01889, allocations: 1.727 MB / 285.3 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.01891, allocations: 4.141 kB / 285.3 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.94e-05/0.01897, allocations: 40.12 kB / 285.3 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.01898, allocations: 20 kB / 285.4 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.01942, allocations: 277.7 kB / 285.6 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.02194, allocations: 1.703 MB / 287.3 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.0233, allocations: 0.5308 MB / 287.9 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.02358, allocations: 177.5 kB / 288 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.463e-05/0.02362, allocations: 24.66 kB / 288.1 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.02366, allocations: 54.03 kB / 288.1 MB, free: 1.832 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.334e-06/0.02366, allocations: 1.859 kB / 288.1 MB, free: 1.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001147/0.02481, allocations: 0.6519 MB / 288.8 MB, free: 1.156 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003097/0.02512, allocations: 0.9528 MB / 289.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.02572, allocations: 0.6826 MB / 290.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.386e-05/0.02577, allocations: 45.7 kB / 290.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.02608, allocations: 0.4953 MB / 290.9 MB, free: 14.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.02624, allocations: 261.7 kB / 291.2 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.02645, allocations: 164.2 kB / 291.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003963/0.02685, allocations: 0.5042 MB / 291.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.02706, allocations: 179 kB / 292 MB, free: 13.6 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007201/0.02778, allocations: 1.469 MB / 293.5 MB, free: 11.72 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.02824, allocations: 406 kB / 293.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.02824, allocations: 0 / 293.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0008594/0.0291, allocations: 0.7553 MB / 294.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/0.02915, allocations: 89.09 kB / 294.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.02915, allocations: 0 / 294.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002315/0.02939, allocations: 122.3 kB / 294.9 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/0.02983, allocations: 151.7 kB / 295 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004394/0.03422, allocations: 8.793 MB / 303.8 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/0.03467, allocations: 83.55 kB / 303.9 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.03471, allocations: 23.98 kB / 303.9 MB, free: 0.5977 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.0002099/0.03492, allocations: 208.5 kB / 304.1 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.03507, allocations: 119.4 kB / 304.2 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.03518, allocations: 99.94 kB / 304.3 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.03519, allocations: 12.03 kB / 304.3 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.03519, allocations: 3.938 kB / 304.3 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09573/0.1309, allocations: 0.7169 MB / 305.1 MB, free: 42.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.1325, allocations: 1.173 MB / 306.2 MB, free: 42.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.1325, allocations: 3 kB / 306.2 MB, free: 42.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.1329, allocations: 151.4 kB / 306.4 MB, free: 42.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.178e-05/0.133, allocations: 27.64 kB / 306.4 MB, free: 42.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.133, allocations: 22.81 kB / 306.4 MB, free: 42.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005426/0.1336, allocations: 1.738 MB / 308.2 MB, free: 40.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1336, allocations: 0.5312 kB / 308.2 MB, free: 40.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006982/0.1343, allocations: 0.7108 MB / 308.9 MB, free: 40.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.1345, allocations: 178.7 kB / 309.1 MB, free: 40.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-05/0.1346, allocations: 19.42 kB / 309.1 MB, free: 40.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.1349, allocations: 35.02 kB / 309.1 MB, free: 40.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.1349, allocations: 46.97 kB / 309.2 MB, free: 40.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.1349, allocations: 14.38 kB / 309.2 MB, free: 40.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003058/0.1352, allocations: 429.1 kB / 309.6 MB, free: 40.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1352, allocations: 0 / 309.6 MB, free: 40.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005749/0.1358, allocations: 309.1 kB / 309.9 MB, free: 40.45 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.000113/0.1359, allocations: 120.1 kB / 310 MB, free: 40.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008609/0.1368, allocations: 1.478 MB / 311.5 MB, free: 39.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/0.1368, allocations: 2.781 kB / 311.5 MB, free: 39.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.1371, allocations: 352.1 kB / 311.8 MB, free: 39.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/0.1377, allocations: 284.8 kB / 312.1 MB, free: 39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.1398, allocations: 1.531 MB / 313.6 MB, free: 38.26 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.1399, allocations: 174.7 kB / 313.8 MB, free: 38.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003989/0.1403, allocations: 119.2 kB / 313.9 MB, free: 38.15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008405/0.1412, allocations: 495.3 kB / 314.4 MB, free: 38.09 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1412, allocations: 0 / 314.4 MB, free: 38.09 MB / 282.7 MB Notification: Performance of Templates: time 0.01946/0.1606, allocations: 20.01 MB / 334.4 MB, free: 23.96 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0565778873860836]