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.001943/0.001943, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 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.002393/0.002393, allocations: 219.5 kB / 24.49 MB, free: 3.93 MB / 14.72 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.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001556/0.001556, allocations: 52.06 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.216, allocations: 53.37 MB / 432.3 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006467/0.2225, allocations: 4.99 MB / 437.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.2248, allocations: 1.41 MB / 438.7 MB, free: 432 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/0.2251, allocations: 19.88 kB / 438.8 MB, free: 412 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000427/0.2255, allocations: 190.3 kB / 438.9 MB, free: 220 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007335/0.2262, allocations: 396.7 kB / 439.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004566/0.2267, allocations: 263.6 kB / 439.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001408/0.2281, allocations: 1.365 MB / 441 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.2285, allocations: 267.8 kB / 441.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005656/0.2291, allocations: 0.5255 MB / 441.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007183/0.2298, allocations: 0.5797 MB / 442.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.23, allocations: 123.9 kB / 442.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.2302, allocations: 120 kB / 442.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.2304, allocations: 255.1 kB / 442.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005373/0.231, allocations: 0.5135 MB / 443.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.2325, allocations: 1.428 MB / 444.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2325, allocations: 0 / 444.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2325, allocations: 0 / 444.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.2325, allocations: 0 / 444.8 MB, free: 10.36 MB / 350.1 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.002862/0.2354, allocations: 1.436 MB / 446.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.598e-05/0.2355, allocations: 12.03 kB / 446.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002207/0.2357, allocations: 132.2 kB / 446.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.2368, allocations: 0.5746 MB / 446.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003594/0.2371, allocations: 309.9 kB / 447.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.2372, allocations: 64.38 kB / 447.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/0.2395, allocations: 1.861 MB / 449.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.2395, allocations: 0 / 449.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.739e-05/0.2396, allocations: 36 kB / 449.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.2396, allocations: 16 kB / 449.2 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.241, allocations: 0.6168 MB / 449.8 MB, free: 4.848 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003929/0.245, allocations: 1.852 MB / 451.6 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002716/0.2477, allocations: 0.7467 MB / 452.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007604/0.2484, allocations: 319.4 kB / 452.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.835e-05/0.2485, allocations: 20.64 kB / 452.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.2485, allocations: 51.16 kB / 452.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.324e-06/0.2485, allocations: 0 / 452.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002602/0.2511, allocations: 1.025 MB / 453.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006037/0.2517, allocations: 0.9489 MB / 454.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009298/0.2527, allocations: 0.7116 MB / 455.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.963e-05/0.2528, allocations: 49.64 kB / 455.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004369/0.2532, allocations: 434.4 kB / 455.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.2534, allocations: 261.8 kB / 456.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/0.2537, allocations: 150.7 kB / 456.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.2539, allocations: 337.9 kB / 456.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006625/0.2545, allocations: 335 kB / 457 MB, free: 13.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.256, allocations: 1.546 MB / 458.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.2574, allocations: 0.6678 MB / 459.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.2574, allocations: 0 / 459.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001898/0.2593, allocations: 1.03 MB / 460.2 MB, free: 9.602 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.492e-05/0.2594, allocations: 89.09 kB / 460.3 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.2594, allocations: 0 / 460.3 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003471/0.2597, allocations: 120.2 kB / 460.4 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007917/0.2605, allocations: 155.8 kB / 460.6 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00654/0.2671, allocations: 6.683 MB / 467.3 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007998/0.2679, allocations: 87.53 kB / 467.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.239e-05/0.2679, allocations: 31.98 kB / 467.4 MB, free: 1.895 MB / 366.1 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.0003612/0.2683, allocations: 233.8 kB / 467.6 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.2685, allocations: 99.38 kB / 467.7 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.2687, allocations: 96 kB / 467.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001537/0.2702, allocations: 0.9738 MB / 468.8 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2702, allocations: 0 / 468.8 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/0.2706, allocations: 183.1 kB / 469 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.2707, allocations: 19.98 kB / 469 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006581/0.2714, allocations: 39.97 kB / 469 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.2715, allocations: 48.56 kB / 469.1 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001919/0.2734, allocations: 0.7439 MB / 469.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002137/0.2755, allocations: 1.145 MB / 471 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005557/0.2761, allocations: 257.1 kB / 471.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006482/0.2767, allocations: 0.4951 MB / 471.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of Backend: time 5.01e-07/0.2767, allocations: 0 / 471.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002248/0.279, allocations: 1.339 MB / 473 MB, free: 11.97 MB / 382.1 MB Notification: Performance of SimCode: time 0.003117/0.2821, allocations: 2.219 MB / 475.3 MB, free: 9.695 MB / 382.1 MB Notification: Performance of Templates: time 0.03385/0.3159, allocations: 21.42 MB / 496.7 MB, free: 4.695 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.963705007998215]