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.001755/0.001755, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 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.002037/0.002037, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 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.417/1.417, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001497/0.001497, allocations: 47.92 kB / 368.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2223, allocations: 52.15 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006973/0.2293, allocations: 5.654 MB / 426.5 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.232, allocations: 1.427 MB / 427.9 MB, free: 8.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000331/0.2324, allocations: 15.94 kB / 428 MB, free: 8.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004705/0.2328, allocations: 202.3 kB / 428.2 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007553/0.2336, allocations: 396.7 kB / 428.5 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.2341, allocations: 259.5 kB / 428.8 MB, free: 7.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001554/0.2357, allocations: 1.363 MB / 430.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004442/0.2361, allocations: 275.3 kB / 430.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006681/0.2368, allocations: 0.5137 MB / 430.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006893/0.2375, allocations: 0.5835 MB / 431.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.2376, allocations: 116 kB / 431.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.2378, allocations: 120 kB / 431.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002986/0.2381, allocations: 263.1 kB / 432 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005914/0.2387, allocations: 0.6027 MB / 432.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.2402, allocations: 1.412 MB / 434 MB, free: 1.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.2402, allocations: 4 kB / 434 MB, free: 1.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2402, allocations: 0 / 434 MB, free: 1.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.2402, allocations: 0 / 434 MB, free: 1.883 MB / 334.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.002789/0.243, allocations: 1.512 MB / 435.5 MB, free: 308 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.243, allocations: 8.031 kB / 435.6 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002293/0.2432, allocations: 132.2 kB / 435.7 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.2443, allocations: 0.6389 MB / 436.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.2445, allocations: 155.6 kB / 436.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.2446, allocations: 68.38 kB / 436.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.2462, allocations: 0.9707 MB / 437.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.2462, allocations: 0 / 437.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.87e-05/0.2463, allocations: 32 kB / 437.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.2464, allocations: 16 kB / 437.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.2477, allocations: 0.6207 MB / 438.2 MB, free: 13.49 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.004461/0.2522, allocations: 2.64 MB / 440.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/0.2548, allocations: 0.8208 MB / 441.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007488/0.2556, allocations: 322.7 kB / 442 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.081e-05/0.2556, allocations: 24.56 kB / 442 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/0.2557, allocations: 47.22 kB / 442 MB, free: 9.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.675e-06/0.2557, allocations: 0 / 442 MB, free: 9.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002826/0.2585, allocations: 1.401 MB / 443.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005464/0.2591, allocations: 0.9489 MB / 444.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.2601, allocations: 0.7921 MB / 445.2 MB, free: 5.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.211e-05/0.2602, allocations: 45.7 kB / 445.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.2606, allocations: 421 kB / 445.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.2608, allocations: 269.7 kB / 445.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.2611, allocations: 158.6 kB / 446 MB, free: 5.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2613, allocations: 334 kB / 446.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005892/0.2619, allocations: 249.9 kB / 446.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009493/0.2628, allocations: 0.5879 MB / 447.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.2641, allocations: 0.6678 MB / 447.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.2641, allocations: 4 kB / 447.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001877/0.2659, allocations: 0.9473 MB / 448.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.83e-05/0.266, allocations: 93.23 kB / 448.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.266, allocations: 0 / 448.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/0.2664, allocations: 128.2 kB / 449 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007575/0.2671, allocations: 151.8 kB / 449.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006678/0.2738, allocations: 7.325 MB / 456.5 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.2749, allocations: 107.4 kB / 456.6 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/0.2749, allocations: 36 kB / 456.6 MB, free: 9.52 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.0004224/0.2754, allocations: 233.7 kB / 456.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.2755, allocations: 111.3 kB / 457 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.2757, allocations: 104.9 kB / 457.1 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.2757, allocations: 8 kB / 457.1 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.2758, allocations: 0 / 457.1 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001484/0.2772, allocations: 0.97 MB / 458.1 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.2802, allocations: 1.745 MB / 459.8 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2802, allocations: 0 / 459.8 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000784/0.281, allocations: 151.8 kB / 460 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.701e-05/0.2811, allocations: 24.84 kB / 460 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.2811, allocations: 19.98 kB / 460 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.2823, allocations: 1.407 MB / 461.4 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2823, allocations: 0 / 461.4 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.2844, allocations: 1.078 MB / 462.5 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004294/0.2848, allocations: 256.3 kB / 462.7 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.285, allocations: 20 kB / 462.8 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006417/0.2856, allocations: 47.81 kB / 462.8 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.2857, allocations: 44.53 kB / 462.8 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/0.2857, allocations: 20 kB / 462.9 MB, free: 2.918 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007885/0.2865, allocations: 0.5498 MB / 463.4 MB, free: 2.375 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2865, allocations: 0 / 463.4 MB, free: 2.375 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008374/0.2874, allocations: 303.7 kB / 463.7 MB, free: 2.078 MB / 366.1 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.0001764/0.2875, allocations: 119.2 kB / 463.8 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002159/0.2897, allocations: 1.362 MB / 465.2 MB, free: 500 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.2897, allocations: 4 kB / 465.2 MB, free: 496 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007232/0.2904, allocations: 398.2 kB / 465.6 MB, free: 88 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.2916, allocations: 297.7 kB / 465.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.2946, allocations: 1.697 MB / 467.6 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/0.2952, allocations: 0.9797 MB / 468.6 MB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005037/0.2957, allocations: 131.5 kB / 468.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.296, allocations: 83.36 kB / 468.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.296, allocations: 0 / 468.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of Templates: time 0.03228/0.3283, allocations: 18.22 MB / 487 MB, free: 10.96 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.146977229043841]