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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=4000,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=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001132/0.001132, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2369, allocations: 50.55 MB / 409.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004518/0.2415, allocations: 3.762 MB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.2431, allocations: 1.02 MB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.2434, allocations: 4 kB / 414.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.2437, allocations: 115 kB / 414.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.2441, allocations: 198.3 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.2445, allocations: 139.8 kB / 415.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007356/0.2452, allocations: 0.7042 MB / 415.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000313/0.2455, allocations: 214.4 kB / 416.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.2458, allocations: 267 kB / 416.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.2461, allocations: 310.6 kB / 416.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.527e-05/0.2462, allocations: 60 kB / 416.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.2463, allocations: 60 kB / 416.7 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.2465, allocations: 135.5 kB / 416.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.2467, allocations: 318.5 kB / 417.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006201/0.2474, allocations: 0.7099 MB / 417.9 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2474, allocations: 4 kB / 417.9 MB, free: 9.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2474, allocations: 0 / 417.9 MB, free: 9.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.2474, allocations: 0 / 417.9 MB, free: 9.531 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.001527/0.2489, allocations: 0.9247 MB / 418.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.249, allocations: 8.031 kB / 418.8 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.2491, allocations: 68.19 kB / 418.9 MB, free: 8.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000691/0.2498, allocations: 430.8 kB / 419.3 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.681e-05/0.2499, allocations: 67.25 kB / 419.4 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.25, allocations: 36.38 kB / 419.4 MB, free: 7.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008617/0.2508, allocations: 0.5021 MB / 419.9 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2508, allocations: 0 / 419.9 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.387e-05/0.2509, allocations: 20 kB / 419.9 MB, free: 7.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-06/0.2509, allocations: 8 kB / 420 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008389/0.2518, allocations: 351.8 kB / 420.3 MB, free: 6.98 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.002013/0.2538, allocations: 1.343 MB / 421.6 MB, free: 5.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000869/0.2547, allocations: 447.1 kB / 422.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/0.2551, allocations: 196.8 kB / 422.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.2551, allocations: 4 kB / 422.3 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.2552, allocations: 42.31 kB / 422.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.543e-06/0.2552, allocations: 3.938 kB / 422.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001615/0.2568, allocations: 0.7433 MB / 423.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001904/0.257, allocations: 448.9 kB / 423.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005043/0.2575, allocations: 482 kB / 424 MB, free: 3.004 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.2576, allocations: 33.7 kB / 424 MB, free: 2.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.2577, allocations: 244.5 kB / 424.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.364e-05/0.2578, allocations: 130 kB / 424.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.258, allocations: 81.64 kB / 424.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.2581, allocations: 362.8 kB / 424.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.2585, allocations: 143.9 kB / 424.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/0.259, allocations: 286.5 kB / 425.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007631/0.2598, allocations: 358.5 kB / 425.6 MB, free: 1.309 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2598, allocations: 0 / 425.6 MB, free: 1.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001011/0.2608, allocations: 491.8 kB / 426.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.2608, allocations: 43.83 kB / 426.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2609, allocations: 4.031 kB / 426.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.261, allocations: 49.69 kB / 426.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.2614, allocations: 87.88 kB / 426.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/0.2638, allocations: 2.965 MB / 429.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.2643, allocations: 55.61 kB / 429.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.2643, allocations: 15.98 kB / 429.3 MB, free: 13.3 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.0002417/0.2646, allocations: 181.7 kB / 429.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-05/0.2647, allocations: 51.44 kB / 429.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.2648, allocations: 52.94 kB / 429.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2648, allocations: 7.984 kB / 429.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2648, allocations: 3.938 kB / 429.6 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009618/0.2658, allocations: 0.7398 MB / 430.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.2674, allocations: 1.04 MB / 431.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2674, allocations: 3.938 kB / 431.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004389/0.2678, allocations: 91.88 kB / 431.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2678, allocations: 0 / 431.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.2679, allocations: 8 kB / 431.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2679, allocations: 0 / 431.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2679, allocations: 0 / 431.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.2692, allocations: 0.6799 MB / 432.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.2694, allocations: 176.3 kB / 432.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.097e-05/0.2694, allocations: 12 kB / 432.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.2698, allocations: 27.91 kB / 432.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.2699, allocations: 28.03 kB / 432.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.2699, allocations: 15.98 kB / 432.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003649/0.2703, allocations: 334.9 kB / 432.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2703, allocations: 0 / 432.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004324/0.2707, allocations: 143.8 kB / 432.8 MB, free: 9.516 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.0001343/0.2709, allocations: 111.2 kB / 433 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.2721, allocations: 0.6449 MB / 433.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2721, allocations: 4 kB / 433.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004028/0.2725, allocations: 191.8 kB / 433.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006816/0.2732, allocations: 145.9 kB / 433.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.2748, allocations: 0.9787 MB / 434.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.2753, allocations: 0.8315 MB / 435.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.2754, allocations: 51.42 kB / 435.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2754, allocations: 0 / 435.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of Templates: time 0.01281/0.2882, allocations: 9.189 MB / 445 MB, free: 13.34 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches