Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.00164/0.00164, 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.001795/0.001795, 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.399/1.399, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 47.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2528, allocations: 52.15 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005333/0.2581, allocations: 3.792 MB / 424.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.26, allocations: 1.001 MB / 425.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.2602, allocations: 11.94 kB / 425.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.2605, allocations: 115 kB / 425.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004274/0.261, allocations: 206.3 kB / 426 MB, free: 9.965 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.2613, allocations: 131.8 kB / 426.1 MB, free: 9.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008472/0.2621, allocations: 0.7072 MB / 426.8 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.2624, allocations: 142.6 kB / 426.9 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003317/0.2627, allocations: 271 kB / 427.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003799/0.2631, allocations: 306.7 kB / 427.5 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.4e-05/0.2632, allocations: 60 kB / 427.6 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.2633, allocations: 60 kB / 427.6 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.2635, allocations: 135.5 kB / 427.8 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003183/0.2638, allocations: 314.5 kB / 428.1 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000818/0.2646, allocations: 0.7172 MB / 428.8 MB, free: 7.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2646, allocations: 0 / 428.8 MB, free: 7.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2646, allocations: 0 / 428.8 MB, free: 7.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.2646, allocations: 3.938 kB / 428.8 MB, free: 7.141 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001732/0.2663, allocations: 0.9438 MB / 429.7 MB, free: 6.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.2664, allocations: 12.03 kB / 429.7 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.2665, allocations: 72.5 kB / 429.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007928/0.2673, allocations: 439.1 kB / 430.2 MB, free: 5.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.2674, allocations: 59.27 kB / 430.3 MB, free: 5.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.479e-05/0.2675, allocations: 40.36 kB / 430.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009703/0.2685, allocations: 0.5021 MB / 430.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.2685, allocations: 0 / 430.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/0.2685, allocations: 16 kB / 430.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.2686, allocations: 15.98 kB / 430.9 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008927/0.2694, allocations: 347.8 kB / 431.2 MB, free: 4.559 MB / 334.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.002341/0.2718, allocations: 1.347 MB / 432.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009795/0.2728, allocations: 437.5 kB / 433 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004206/0.2732, allocations: 177.4 kB / 433.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-05/0.2732, allocations: 4 kB / 433.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.2733, allocations: 38.56 kB / 433.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.923e-06/0.2733, allocations: 0 / 433.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001711/0.275, allocations: 0.7512 MB / 434 MB, free: 1.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000247/0.2752, allocations: 441 kB / 434.4 MB, free: 1.098 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005969/0.2758, allocations: 482 kB / 434.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.2759, allocations: 37.7 kB / 434.9 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.2761, allocations: 252.6 kB / 435.1 MB, free: 328 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.2762, allocations: 134.8 kB / 435.3 MB, free: 192 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.2764, allocations: 73.7 kB / 435.3 MB, free: 112 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.2766, allocations: 366.8 kB / 435.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.277, allocations: 135.9 kB / 435.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005266/0.2775, allocations: 306.3 kB / 436.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007852/0.2783, allocations: 339.1 kB / 436.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2783, allocations: 0 / 436.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001054/0.2793, allocations: 0.4922 MB / 437 MB, free: 14.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.2794, allocations: 37.69 kB / 437 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2794, allocations: 0 / 437 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001997/0.2796, allocations: 45.7 kB / 437 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/0.28, allocations: 91.91 kB / 437.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/0.283, allocations: 2.972 MB / 440.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004774/0.2835, allocations: 55.69 kB / 440.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.2836, allocations: 12 kB / 440.2 MB, free: 10.9 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.0002756/0.2838, allocations: 173.7 kB / 440.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.2839, allocations: 59.67 kB / 440.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.2841, allocations: 60.92 kB / 440.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2841, allocations: 4 kB / 440.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2841, allocations: 4.172 kB / 440.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0011/0.2852, allocations: 0.7346 MB / 441.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.287, allocations: 1.05 MB / 442.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.287, allocations: 3.938 kB / 442.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004736/0.2875, allocations: 95.86 kB / 442.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.2875, allocations: 4 kB / 442.3 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.2875, allocations: 8 kB / 442.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.2875, allocations: 4 kB / 442.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2875, allocations: 0 / 442.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.2889, allocations: 0.6721 MB / 443 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.2891, allocations: 180.5 kB / 443.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.607e-05/0.2892, allocations: 8 kB / 443.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.2895, allocations: 31.97 kB / 443.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.2896, allocations: 23.97 kB / 443.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.2896, allocations: 4 kB / 443.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004228/0.2901, allocations: 346.9 kB / 443.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2901, allocations: 0 / 443.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005591/0.2906, allocations: 143.8 kB / 443.8 MB, free: 7.098 MB / 350.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.0001497/0.2908, allocations: 111.7 kB / 443.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.292, allocations: 0.6331 MB / 444.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.292, allocations: 3.938 kB / 444.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004121/0.2924, allocations: 176.2 kB / 444.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006632/0.2931, allocations: 149.9 kB / 444.8 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.2949, allocations: 0.9643 MB / 445.8 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.2954, allocations: 0.8353 MB / 446.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002861/0.2957, allocations: 64.53 kB / 446.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.2958, allocations: 39.44 kB / 446.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2958, allocations: 0 / 446.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of Templates: time 0.01747/0.3133, allocations: 9.273 MB / 456 MB, free: 10.9 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.71019116602838]