Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 67.91 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2494, allocations: 53.42 MB / 432.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005292/0.2547, allocations: 3.79 MB / 436.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.2567, allocations: 1.036 MB / 437.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/0.257, allocations: 11.94 kB / 437.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.2574, allocations: 111.1 kB / 437.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004617/0.2578, allocations: 206.3 kB / 437.6 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.2582, allocations: 143.7 kB / 437.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008324/0.259, allocations: 0.7077 MB / 438.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000269/0.2593, allocations: 143 kB / 438.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003349/0.2596, allocations: 275 kB / 438.8 MB, free: 316 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/0.26, allocations: 310.6 kB / 439.1 MB, free: 4 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.2601, allocations: 60.05 kB / 439.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.917e-05/0.2602, allocations: 60 kB / 439.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.2603, allocations: 123.5 kB / 439.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003144/0.2606, allocations: 330.4 kB / 439.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008067/0.2615, allocations: 0.7173 MB / 440.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2615, allocations: 3.938 kB / 440.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2615, allocations: 4 kB / 440.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.2615, allocations: 4 kB / 440.4 MB, free: 14.71 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.001675/0.2631, allocations: 0.853 MB / 441.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2632, allocations: 8.031 kB / 441.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.2633, allocations: 72.52 kB / 441.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007804/0.2641, allocations: 385.3 kB / 441.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.2643, allocations: 114.7 kB / 441.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.478e-05/0.2643, allocations: 40.38 kB / 441.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008896/0.2652, allocations: 0.5021 MB / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.2652, allocations: 0 / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.837e-05/0.2653, allocations: 20 kB / 442.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.2653, allocations: 8 kB / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008568/0.2661, allocations: 351.8 kB / 442.8 MB, free: 12.24 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.002283/0.2684, allocations: 1.297 MB / 444.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009169/0.2693, allocations: 362.3 kB / 444.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004305/0.2698, allocations: 172.9 kB / 444.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.342e-05/0.2698, allocations: 7.938 kB / 444.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.2699, allocations: 46.31 kB / 444.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.573e-06/0.2699, allocations: 0 / 444.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001662/0.2715, allocations: 0.5927 MB / 445.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002568/0.2718, allocations: 448.9 kB / 445.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006122/0.2724, allocations: 478 kB / 446.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.2724, allocations: 37.64 kB / 446.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.2726, allocations: 252.6 kB / 446.4 MB, free: 8.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.2728, allocations: 130.9 kB / 446.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.2729, allocations: 85.59 kB / 446.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.2731, allocations: 362.8 kB / 447 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.2735, allocations: 139.9 kB / 447.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/0.274, allocations: 290.4 kB / 447.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008106/0.2748, allocations: 354.5 kB / 447.8 MB, free: 6.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2748, allocations: 4 kB / 447.8 MB, free: 6.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001126/0.276, allocations: 496.1 kB / 448.2 MB, free: 6.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.554e-05/0.276, allocations: 33.7 kB / 448.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.276, allocations: 0 / 448.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/0.2762, allocations: 53.73 kB / 448.3 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/0.2766, allocations: 87.88 kB / 448.4 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/0.2793, allocations: 2.762 MB / 451.2 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.2798, allocations: 47.75 kB / 451.2 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.2798, allocations: 12 kB / 451.2 MB, free: 3.184 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.0002687/0.2801, allocations: 173.8 kB / 451.4 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-05/0.2802, allocations: 63.56 kB / 451.5 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.2803, allocations: 56.92 kB / 451.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2803, allocations: 4 kB / 451.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2803, allocations: 3.938 kB / 451.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00104/0.2813, allocations: 0.74 MB / 452.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.2831, allocations: 1.012 MB / 453.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.2831, allocations: 7.938 kB / 453.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/0.2836, allocations: 91.88 kB / 453.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.2836, allocations: 4 kB / 453.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.2836, allocations: 8 kB / 453.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.2836, allocations: 7.984 kB / 453.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2836, allocations: 0 / 453.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.285, allocations: 0.6606 MB / 454.1 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.2852, allocations: 99.52 kB / 454.2 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-05/0.2853, allocations: 12 kB / 454.2 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.2856, allocations: 27.97 kB / 454.2 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.2857, allocations: 32 kB / 454.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.2858, allocations: 15.94 kB / 454.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004791/0.2862, allocations: 334.9 kB / 454.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2862, allocations: 0 / 454.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005497/0.2868, allocations: 143.8 kB / 454.7 MB, free: 15.52 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.0001758/0.287, allocations: 111.1 kB / 454.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001388/0.2884, allocations: 0.6378 MB / 455.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.2884, allocations: 4 kB / 455.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.2888, allocations: 171.5 kB / 455.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007201/0.2895, allocations: 153.8 kB / 455.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.2913, allocations: 0.9992 MB / 456.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.2918, allocations: 0.8354 MB / 457.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.292, allocations: 51.42 kB / 457.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.292, allocations: 0 / 457.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of Templates: time 0.01394/0.3059, allocations: 9.227 MB / 466.9 MB, free: 3.293 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 8.093022471992299]