Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.002/0.002, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001817/0.001817, allocations: 205.9 kB / 24.49 MB, free: 4.137 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 51.92 kB / 379 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2258, allocations: 53.37 MB / 432.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005422/0.2312, allocations: 3.794 MB / 436.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.2333, allocations: 1.043 MB / 437.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004348/0.2337, allocations: 11.94 kB / 437.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000431/0.2341, allocations: 111 kB / 437.3 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005895/0.2347, allocations: 206.2 kB / 437.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.2351, allocations: 135.8 kB / 437.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009904/0.2361, allocations: 0.712 MB / 438.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.2364, allocations: 139.2 kB / 438.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004034/0.2368, allocations: 271 kB / 438.8 MB, free: 492 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004813/0.2372, allocations: 310.6 kB / 439.1 MB, free: 180 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.2374, allocations: 60 kB / 439.2 MB, free: 120 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.2375, allocations: 60 kB / 439.2 MB, free: 60 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.2377, allocations: 135.5 kB / 439.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004206/0.2381, allocations: 318.5 kB / 439.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009305/0.2391, allocations: 0.7221 MB / 440.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2391, allocations: 4 kB / 440.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2391, allocations: 4 kB / 440.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.259e-05/0.2391, allocations: 0 / 440.4 MB, free: 14.89 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001812/0.2409, allocations: 0.8569 MB / 441.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.2409, allocations: 12.03 kB / 441.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.2411, allocations: 68.52 kB / 441.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008589/0.242, allocations: 385.3 kB / 441.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.2421, allocations: 106.7 kB / 441.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.2422, allocations: 40.38 kB / 441.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000898/0.2431, allocations: 0.5053 MB / 442.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.2431, allocations: 4 kB / 442.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.2431, allocations: 16 kB / 442.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.2431, allocations: 8 kB / 442.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008235/0.244, allocations: 351.8 kB / 442.7 MB, free: 12.42 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.002357/0.2463, allocations: 1.301 MB / 444 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008632/0.2472, allocations: 360.1 kB / 444.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000414/0.2476, allocations: 180.8 kB / 444.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.2476, allocations: 11.98 kB / 444.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.2477, allocations: 46.3 kB / 444.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.673e-06/0.2477, allocations: 0 / 444.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001591/0.2493, allocations: 0.5927 MB / 445.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000266/0.2495, allocations: 449 kB / 445.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006154/0.2502, allocations: 478 kB / 446.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.2502, allocations: 33.7 kB / 446.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.2504, allocations: 248.6 kB / 446.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.2505, allocations: 134.8 kB / 446.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.2507, allocations: 81.64 kB / 446.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.2509, allocations: 362.8 kB / 446.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.2512, allocations: 143.9 kB / 447.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005119/0.2518, allocations: 290.4 kB / 447.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007654/0.2525, allocations: 354.5 kB / 447.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2525, allocations: 4 kB / 447.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001081/0.2536, allocations: 492.1 kB / 448.2 MB, free: 6.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.2536, allocations: 33.7 kB / 448.2 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.2537, allocations: 4 kB / 448.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001761/0.2538, allocations: 57.72 kB / 448.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.2542, allocations: 87.88 kB / 448.4 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002707/0.257, allocations: 2.758 MB / 451.1 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/0.2574, allocations: 47.8 kB / 451.2 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.2574, allocations: 15.98 kB / 451.2 MB, free: 3.348 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002387/0.2577, allocations: 173.8 kB / 451.4 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.2578, allocations: 59.62 kB / 451.4 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.2579, allocations: 56.92 kB / 451.5 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2579, allocations: 4 kB / 451.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2579, allocations: 3.938 kB / 451.5 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001016/0.2589, allocations: 0.7361 MB / 452.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.2607, allocations: 1.012 MB / 453.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.2608, allocations: 7.938 kB / 453.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004627/0.2612, allocations: 91.86 kB / 453.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.2612, allocations: 4 kB / 453.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.2613, allocations: 8 kB / 453.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2613, allocations: 4 kB / 453.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2613, allocations: 4 kB / 453.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.2625, allocations: 0.6723 MB / 454 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.2627, allocations: 99.42 kB / 454.1 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.2628, allocations: 12 kB / 454.1 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/0.2632, allocations: 27.97 kB / 454.2 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.2633, allocations: 23.95 kB / 454.2 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.2633, allocations: 16.06 kB / 454.2 MB, free: 152 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004116/0.2637, allocations: 335 kB / 454.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2637, allocations: 0 / 454.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000464/0.2642, allocations: 143.9 kB / 454.7 MB, free: 15.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001488/0.2643, allocations: 115.1 kB / 454.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.2655, allocations: 0.6376 MB / 455.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.2655, allocations: 0 / 455.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003884/0.2659, allocations: 171.5 kB / 455.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006642/0.2666, allocations: 153.8 kB / 455.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.2684, allocations: 0.9914 MB / 456.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.2688, allocations: 0.8353 MB / 457.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.269, allocations: 47.44 kB / 457.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.269, allocations: 0 / 457.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of Templates: time 0.01367/0.2827, allocations: 9.243 MB / 466.9 MB, free: 3.457 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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: 7.549480183981359]