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.001615/0.001615, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.002014/0.002014, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.576/1.576, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001601/0.001601, allocations: 47.92 kB / 373.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09703/0.09863, allocations: 53.33 MB / 426.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.1874/0.286, allocations: 5.637 MB / 432.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.2884, allocations: 1.461 MB / 433.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000336/0.2888, allocations: 17.19 kB / 433.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004617/0.2892, allocations: 193.7 kB / 434.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006585/0.2899, allocations: 399.2 kB / 434.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.2903, allocations: 263.2 kB / 434.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.2914, allocations: 1.362 MB / 436.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003686/0.2918, allocations: 274.7 kB / 436.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004945/0.2923, allocations: 0.5234 MB / 436.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006747/0.2929, allocations: 0.5842 MB / 437.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.2931, allocations: 117.3 kB / 437.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.2933, allocations: 120.9 kB / 437.7 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.2935, allocations: 258.7 kB / 438 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005128/0.294, allocations: 0.6075 MB / 438.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.2956, allocations: 1.414 MB / 440 MB, free: 6.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2956, allocations: 0 / 440 MB, free: 6.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2956, allocations: 1.125 kB / 440 MB, free: 6.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.2956, allocations: 1.094 kB / 440 MB, free: 6.012 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.002552/0.2981, allocations: 1.512 MB / 441.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2982, allocations: 9.562 kB / 441.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002131/0.2984, allocations: 137.9 kB / 441.7 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008173/0.2992, allocations: 0.641 MB / 442.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.2994, allocations: 151.9 kB / 442.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.2995, allocations: 70.72 kB / 442.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.301, allocations: 0.9693 MB / 443.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.3011, allocations: 0 / 443.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.83e-05/0.3011, allocations: 38.56 kB / 443.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.3012, allocations: 16.12 kB / 443.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.3025, allocations: 0.6229 MB / 444.2 MB, free: 3.449 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.004424/0.3069, allocations: 2.628 MB / 446.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002708/0.3096, allocations: 0.8188 MB / 447.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007227/0.3103, allocations: 325.4 kB / 447.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.137e-05/0.3104, allocations: 12.28 kB / 447.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.3104, allocations: 46.62 kB / 448 MB, free: 1.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.335e-06/0.3104, allocations: 0 / 448 MB, free: 1.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.00269/0.3131, allocations: 1.406 MB / 449.4 MB, free: 424 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005273/0.3137, allocations: 0.9499 MB / 450.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.315, allocations: 0.7842 MB / 451.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.677e-05/0.315, allocations: 47.23 kB / 451.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004196/0.3155, allocations: 420.2 kB / 451.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000269/0.3157, allocations: 264.8 kB / 451.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/0.316, allocations: 164.6 kB / 452 MB, free: 14.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3162, allocations: 333.5 kB / 452.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006256/0.3168, allocations: 249.7 kB / 452.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.3178, allocations: 0.5886 MB / 453.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.3192, allocations: 0.6677 MB / 453.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3192, allocations: 0 / 453.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001903/0.3211, allocations: 0.9533 MB / 454.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.375e-05/0.3211, allocations: 89.05 kB / 454.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.3212, allocations: 2.703 kB / 454.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003903/0.3215, allocations: 124.7 kB / 455 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000735/0.3223, allocations: 151.8 kB / 455.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006765/0.329, allocations: 7.334 MB / 462.5 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.3302, allocations: 101.9 kB / 462.6 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/0.3303, allocations: 28.34 kB / 462.6 MB, free: 5 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.0004436/0.3307, allocations: 244.9 kB / 462.8 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.3309, allocations: 105.5 kB / 462.9 MB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.3312, allocations: 104.9 kB / 463 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.3312, allocations: 8.125 kB / 463 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.3312, allocations: 3.688 kB / 463.1 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001776/0.3329, allocations: 0.9694 MB / 464 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003443/0.3364, allocations: 1.745 MB / 465.8 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-06/0.3364, allocations: 0 / 465.8 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007816/0.3372, allocations: 152.2 kB / 465.9 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.3373, allocations: 25.91 kB / 465.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.834e-05/0.3373, allocations: 15.52 kB / 466 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.3386, allocations: 1.404 MB / 467.4 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3386, allocations: 0 / 467.4 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.3409, allocations: 1.083 MB / 468.4 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004669/0.3413, allocations: 261.6 kB / 468.7 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.3415, allocations: 27.81 kB / 468.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006859/0.3422, allocations: 42.89 kB / 468.8 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.3423, allocations: 45.06 kB / 468.8 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.3423, allocations: 16.94 kB / 468.8 MB, free: 464 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008065/0.3431, allocations: 0.5462 MB / 469.4 MB, free: 152 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3431, allocations: 3.938 kB / 469.4 MB, free: 148 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009689/0.3441, allocations: 296.5 kB / 469.7 MB, free: 100 kB / 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.0003461/0.3444, allocations: 124 kB / 469.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002457/0.3469, allocations: 1.364 MB / 471.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.3469, allocations: 6.172 kB / 471.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000746/0.3476, allocations: 406.6 kB / 471.6 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.3488, allocations: 286.2 kB / 471.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/0.3521, allocations: 1.688 MB / 473.5 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008007/0.3529, allocations: 0.9777 MB / 474.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000574/0.3534, allocations: 127.6 kB / 474.6 MB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.3537, allocations: 80.08 kB / 474.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3537, allocations: 0 / 474.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of Templates: time 0.03295/0.3866, allocations: 18.03 MB / 492.7 MB, free: 13 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/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: 5.452588617801666]