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.001762/0.001762, 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.002058/0.002058, 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.415/1.415, allocations: 225.6 MB / 250.8 MB, free: 13.38 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.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 0.001532/0.001532, allocations: 51.92 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2488, allocations: 52.15 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.0069/0.2557, allocations: 5.229 MB / 426.1 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.2584, allocations: 1.336 MB / 427.4 MB, free: 8.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003224/0.2587, allocations: 11.94 kB / 427.4 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.2591, allocations: 170.5 kB / 427.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000656/0.2598, allocations: 349.1 kB / 428 MB, free: 7.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.2603, allocations: 239.5 kB / 428.2 MB, free: 7.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.2616, allocations: 1.231 MB / 429.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003872/0.262, allocations: 235.8 kB / 429.7 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005232/0.2625, allocations: 474.3 kB / 430.1 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00063/0.2632, allocations: 0.529 MB / 430.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.2633, allocations: 112 kB / 430.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.2635, allocations: 108 kB / 430.9 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.2637, allocations: 239.2 kB / 431.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005403/0.2642, allocations: 0.5444 MB / 431.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.2655, allocations: 1.256 MB / 432.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2655, allocations: 0 / 432.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2655, allocations: 0 / 432.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.2655, allocations: 0 / 432.9 MB, free: 3.008 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002611/0.2681, allocations: 1.418 MB / 434.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2682, allocations: 8.031 kB / 434.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.2684, allocations: 120.3 kB / 434.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.2694, allocations: 0.6072 MB / 435 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.2696, allocations: 146.9 kB / 435.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.2697, allocations: 60.38 kB / 435.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.2713, allocations: 0.9058 MB / 436.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.2714, allocations: 0 / 436.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.994e-05/0.2714, allocations: 28 kB / 436.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.2715, allocations: 16 kB / 436.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.273, allocations: 0.6258 MB / 436.8 MB, free: 14.84 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.003633/0.2766, allocations: 2.174 MB / 439 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.2784, allocations: 0.9562 MB / 439.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008345/0.2792, allocations: 375.3 kB / 440.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.445e-05/0.2793, allocations: 12.64 kB / 440.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.2793, allocations: 47.22 kB / 440.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.365e-06/0.2793, allocations: 0 / 440.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005421/0.2847, allocations: 1.836 MB / 442.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004497/0.2852, allocations: 0.8272 MB / 443 MB, free: 8.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008699/0.2861, allocations: 0.6646 MB / 443.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.459e-05/0.2861, allocations: 45.7 kB / 443.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.2864, allocations: 349.4 kB / 444.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.2867, allocations: 285.5 kB / 444.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.2869, allocations: 158.6 kB / 444.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2871, allocations: 330 kB / 444.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006816/0.2878, allocations: 277.8 kB / 445.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009728/0.2888, allocations: 0.5585 MB / 445.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.2902, allocations: 0.7108 MB / 446.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.2902, allocations: 4 kB / 446.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002762/0.2929, allocations: 1.118 MB / 447.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.078e-05/0.293, allocations: 89.11 kB / 447.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.293, allocations: 0 / 447.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007029/0.2937, allocations: 231.3 kB / 447.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/0.2944, allocations: 151.8 kB / 448 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00843/0.3029, allocations: 6.923 MB / 454.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009418/0.3038, allocations: 111.5 kB / 455 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/0.3039, allocations: 23.98 kB / 455 MB, free: 11.39 MB / 366.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.0004271/0.3043, allocations: 225.7 kB / 455.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.3045, allocations: 99.38 kB / 455.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.3047, allocations: 92.77 kB / 455.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.3047, allocations: 11.98 kB / 455.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.3047, allocations: 0 / 455.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002772/0.3075, allocations: 1.264 MB / 456.7 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004274/0.3118, allocations: 1.986 MB / 458.7 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3118, allocations: 4 kB / 458.7 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00076/0.3125, allocations: 151.8 kB / 458.8 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005753/0.3131, allocations: 198.5 kB / 459 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.313e-05/0.3132, allocations: 19.98 kB / 459.1 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00709/0.3203, allocations: 5.338 MB / 464.4 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3203, allocations: 3.938 kB / 464.4 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/0.3238, allocations: 1.439 MB / 465.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.3242, allocations: 248.3 kB / 466.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.3243, allocations: 20 kB / 466.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006454/0.325, allocations: 51.89 kB / 466.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.3251, allocations: 68.5 kB / 466.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/0.3252, allocations: 20 kB / 466.2 MB, free: 15.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006211/0.3258, allocations: 483 kB / 466.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3258, allocations: 0 / 466.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008805/0.3267, allocations: 287.8 kB / 467 MB, free: 14.75 MB / 382.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.0001892/0.3269, allocations: 119.7 kB / 467.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002347/0.3292, allocations: 1.348 MB / 468.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.3292, allocations: 8.125 kB / 468.5 MB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001455/0.3307, allocations: 0.7573 MB / 469.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.3317, allocations: 239.1 kB / 469.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.3348, allocations: 1.679 MB / 471.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006351/0.3355, allocations: 0.9559 MB / 472.1 MB, free: 9.465 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004352/0.3359, allocations: 110.7 kB / 472.2 MB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.3361, allocations: 71.42 kB / 472.3 MB, free: 9.281 MB / 382.1 MB Notification: Performance of SimCode: time 1.563e-06/0.3361, allocations: 0 / 472.3 MB, free: 9.281 MB / 382.1 MB Notification: Performance of Templates: time 0.03154/0.3676, allocations: 19.3 MB / 491.6 MB, free: 6.262 MB / 398.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.152855789288878]