Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.001873/0.001873, allocations: 82.36 kB / 20.68 MB, free: 1.023 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.002071/0.002071, allocations: 146.7 kB / 23.94 MB, free: 4.16 MB / 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.437/1.437, allocations: 173.3 MB / 200.4 MB, free: 12.84 MB / 190.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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 318.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.117e-05, allocations: 5.094 kB / 318.9 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004774/0.004796, allocations: 4.637 MB / 323.6 MB, free: 428 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.007224, allocations: 1.291 MB / 324.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003183/0.007543, allocations: 12.94 kB / 324.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004792/0.008022, allocations: 177.2 kB / 325 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007618/0.008784, allocations: 356.5 kB / 325.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005219/0.009305, allocations: 249.6 kB / 325.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.01072, allocations: 1.271 MB / 326.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004147/0.01113, allocations: 228.5 kB / 327.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009812/0.01211, allocations: 0.701 MB / 327.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006282/0.01274, allocations: 398.8 kB / 328.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.01291, allocations: 108.4 kB / 328.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.01313, allocations: 110.1 kB / 328.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.01338, allocations: 247.5 kB / 328.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005167/0.0139, allocations: 399 kB / 329.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.01541, allocations: 1.305 MB / 330.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.01541, allocations: 3.938 kB / 330.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01542, allocations: 0 / 330.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.01543, allocations: 1.344 kB / 330.4 MB, free: 12.85 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00283/0.01826, allocations: 1.329 MB / 331.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.0183, allocations: 9.828 kB / 331.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002383/0.01854, allocations: 118 kB / 331.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.01963, allocations: 0.5394 MB / 332.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000321/0.01995, allocations: 307.4 kB / 332.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.02006, allocations: 58 kB / 332.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.02224, allocations: 1.641 MB / 334.4 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.02227, allocations: 5.234 kB / 334.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/0.02235, allocations: 32.31 kB / 334.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.02237, allocations: 14.66 kB / 334.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.02397, allocations: 0.6267 MB / 335 MB, free: 9.082 MB / 302.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.003523/0.0275, allocations: 1.62 MB / 336.7 MB, free: 7.969 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.02925, allocations: 0.7326 MB / 337.4 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008808/0.03013, allocations: 382.7 kB / 337.8 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.457e-05/0.03019, allocations: 9.969 kB / 337.8 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.664e-05/0.03024, allocations: 50.72 kB / 337.8 MB, free: 7.359 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.525e-06/0.03025, allocations: 0 / 337.8 MB, free: 7.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.005427/0.03567, allocations: 1.518 MB / 339.3 MB, free: 6.605 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004675/0.03614, allocations: 0.8239 MB / 340.2 MB, free: 5.598 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00081/0.03695, allocations: 0.6213 MB / 340.8 MB, free: 5.082 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.144e-05/0.03704, allocations: 41.7 kB / 340.8 MB, free: 5.035 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.03736, allocations: 361.2 kB / 341.2 MB, free: 4.676 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.03763, allocations: 269.6 kB / 341.4 MB, free: 4.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.0379, allocations: 154.7 kB / 341.6 MB, free: 4.254 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.03813, allocations: 386.7 kB / 342 MB, free: 3.867 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008174/0.03894, allocations: 362.9 kB / 342.3 MB, free: 3.492 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.04049, allocations: 1.407 MB / 343.7 MB, free: 1.773 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.04215, allocations: 0.6935 MB / 344.4 MB, free: 1.051 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.04216, allocations: 4 kB / 344.4 MB, free: 1.047 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003124/0.04528, allocations: 1.193 MB / 345.6 MB, free: 15.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.668e-05/0.04537, allocations: 97.09 kB / 345.7 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.04538, allocations: 0 / 345.7 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007825/0.04616, allocations: 231.2 kB / 345.9 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007573/0.04692, allocations: 151.8 kB / 346.1 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0095/0.05642, allocations: 6.379 MB / 352.5 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.058, allocations: 103.7 kB / 352.6 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.73e-05/0.0581, allocations: 20 kB / 352.6 MB, free: 8.387 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006401/0.05874, allocations: 225.8 kB / 352.8 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/0.05903, allocations: 95.47 kB / 352.9 MB, free: 8.062 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.0593, allocations: 92.08 kB / 353 MB, free: 7.969 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.05932, allocations: 8 kB / 353 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.05933, allocations: 4 kB / 353 MB, free: 7.957 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004276/0.0636, allocations: 1.256 MB / 354.3 MB, free: 6.586 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006664/0.07027, allocations: 1.721 MB / 356 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.07027, allocations: 0 / 356 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.07156, allocations: 147.8 kB / 356.1 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008939/0.07245, allocations: 198.4 kB / 356.3 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.893e-05/0.07253, allocations: 16 kB / 356.3 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01134/0.08387, allocations: 4.944 MB / 361.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.08387, allocations: 3.938 kB / 361.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006911/0.09079, allocations: 1.427 MB / 362.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008451/0.09163, allocations: 167.3 kB / 362.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.09185, allocations: 20 kB / 362.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.09316, allocations: 47.95 kB / 362.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003256/0.09348, allocations: 72.47 kB / 363 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.504e-05/0.09358, allocations: 23.98 kB / 363 MB, free: 13.42 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001053/0.09463, allocations: 439.1 kB / 363.5 MB, free: 13 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.09463, allocations: 0 / 363.5 MB, free: 13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001622/0.09625, allocations: 295.7 kB / 363.8 MB, free: 12.71 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002925/0.09655, allocations: 123.1 kB / 363.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004523/0.1011, allocations: 1.415 MB / 365.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.1011, allocations: 8.125 kB / 365.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002636/0.1037, allocations: 0.761 MB / 366.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/0.1056, allocations: 237.8 kB / 366.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004896/0.1105, allocations: 1.54 MB / 367.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005958/0.1111, allocations: 362.7 kB / 368.2 MB, free: 8.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00073/0.1118, allocations: 98.3 kB / 368.3 MB, free: 7.973 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.1121, allocations: 72.48 kB / 368.3 MB, free: 7.898 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1121, allocations: 0 / 368.3 MB, free: 7.898 MB / 334.1 MB Notification: Performance of Templates: time 0.06358/0.1757, allocations: 19.19 MB / 387.5 MB, free: 5.066 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.2693795301020145]