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.001621/0.001621, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001756/0.001756, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.531/1.531, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.001569/0.001569, allocations: 43.94 kB / 378.3 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2347, allocations: 53.37 MB / 431.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005145/0.2399, allocations: 3.806 MB / 435.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.2416, allocations: 1.036 MB / 436.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.2417, allocations: 11.88 kB / 436.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.2421, allocations: 111 kB / 436.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.2425, allocations: 210.2 kB / 436.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.2427, allocations: 127.8 kB / 436.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008349/0.2436, allocations: 0.7119 MB / 437.6 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.2438, allocations: 143 kB / 437.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003015/0.2441, allocations: 271.1 kB / 438 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/0.2445, allocations: 314.6 kB / 438.3 MB, free: 212 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.994e-05/0.2446, allocations: 56 kB / 438.4 MB, free: 156 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.2447, allocations: 64 kB / 438.5 MB, free: 92 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.2448, allocations: 131.6 kB / 438.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.2452, allocations: 322.5 kB / 438.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000775/0.2459, allocations: 0.7249 MB / 439.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2459, allocations: 0 / 439.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2459, allocations: 0 / 439.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.2459, allocations: 0 / 439.6 MB, free: 14.92 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.001627/0.2476, allocations: 0.8569 MB / 440.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.2476, allocations: 12.03 kB / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.2477, allocations: 68.52 kB / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007546/0.2485, allocations: 389.3 kB / 440.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.2486, allocations: 106.7 kB / 441 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.473e-05/0.2487, allocations: 36.38 kB / 441.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009119/0.2496, allocations: 0.506 MB / 441.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.2496, allocations: 0 / 441.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/0.2497, allocations: 20 kB / 441.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.2497, allocations: 8 kB / 441.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008778/0.2505, allocations: 347.8 kB / 441.9 MB, free: 12.46 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.002247/0.2528, allocations: 1.305 MB / 443.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008989/0.2537, allocations: 363.3 kB / 443.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004161/0.2541, allocations: 168.8 kB / 443.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.2542, allocations: 15.97 kB / 443.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.2542, allocations: 46.31 kB / 443.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.2542, allocations: 0 / 443.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001625/0.2558, allocations: 0.5927 MB / 444.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002765/0.2561, allocations: 445 kB / 444.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000605/0.2567, allocations: 482 kB / 445.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.2568, allocations: 33.7 kB / 445.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.257, allocations: 248.6 kB / 445.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.2571, allocations: 134.8 kB / 445.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.2572, allocations: 81.61 kB / 445.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.2574, allocations: 366.7 kB / 446.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004004/0.2578, allocations: 147.9 kB / 446.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/0.2583, allocations: 286.4 kB / 446.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007968/0.2591, allocations: 354.6 kB / 446.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2591, allocations: 0 / 446.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001071/0.2602, allocations: 0.4884 MB / 447.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.2602, allocations: 33.69 kB / 447.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2603, allocations: 0 / 447.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001682/0.2604, allocations: 49.7 kB / 447.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004362/0.2609, allocations: 87.88 kB / 447.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002624/0.2635, allocations: 2.762 MB / 450.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.2639, allocations: 51.78 kB / 450.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.2639, allocations: 16 kB / 450.4 MB, free: 3.383 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.0002268/0.2642, allocations: 169.8 kB / 450.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.785e-05/0.2643, allocations: 59.62 kB / 450.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.2644, allocations: 60.92 kB / 450.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2644, allocations: 0 / 450.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2644, allocations: 7.938 kB / 450.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001051/0.2654, allocations: 0.7322 MB / 451.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.2672, allocations: 1.02 MB / 452.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.2672, allocations: 3.938 kB / 452.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/0.2677, allocations: 91.88 kB / 452.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2677, allocations: 0 / 452.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.2677, allocations: 8 kB / 452.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2677, allocations: 0 / 452.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2677, allocations: 0 / 452.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.2691, allocations: 0.6761 MB / 453.3 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.2693, allocations: 99.52 kB / 453.3 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.016e-05/0.2694, allocations: 12 kB / 453.4 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.2697, allocations: 28.03 kB / 453.4 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.289e-05/0.2698, allocations: 24.19 kB / 453.4 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.2698, allocations: 12 kB / 453.4 MB, free: 200 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004113/0.2703, allocations: 334.9 kB / 453.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2703, allocations: 0 / 453.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004563/0.2707, allocations: 147.8 kB / 453.9 MB, free: 15.73 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.0001353/0.2708, allocations: 123.1 kB / 454 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.2721, allocations: 0.6299 MB / 454.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2721, allocations: 0 / 454.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004335/0.2726, allocations: 175.6 kB / 454.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006968/0.2733, allocations: 153.7 kB / 455 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.275, allocations: 0.9742 MB / 455.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.2756, allocations: 0.8315 MB / 456.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002395/0.2758, allocations: 68.53 kB / 456.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.2759, allocations: 43.44 kB / 456.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2759, allocations: 0 / 456.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of Templates: time 0.01722/0.2931, allocations: 9.364 MB / 466.2 MB, free: 3.426 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/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: 4.871480284957215]