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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=4000,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=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 107 kB / 17.74 MB, free: 5.23 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 188.5 kB / 18.67 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 43.94 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2569, allocations: 49.45 MB / 401.4 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004517/0.2615, allocations: 3.752 MB / 405.2 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.263, allocations: 0.9929 MB / 406.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.2632, allocations: 8 kB / 406.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.2635, allocations: 111 kB / 406.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.2638, allocations: 206.3 kB / 406.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.2641, allocations: 139.7 kB / 406.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006331/0.2647, allocations: 0.6984 MB / 407.3 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.265, allocations: 204.2 kB / 407.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.2653, allocations: 266.9 kB / 407.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.2656, allocations: 314.7 kB / 408.1 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.822e-05/0.2657, allocations: 56 kB / 408.1 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.573e-05/0.2658, allocations: 68 kB / 408.2 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.721e-05/0.2659, allocations: 127.5 kB / 408.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002352/0.2661, allocations: 318.5 kB / 408.6 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005962/0.2667, allocations: 0.72 MB / 409.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2667, allocations: 0 / 409.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2668, allocations: 0 / 409.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.2668, allocations: 0 / 409.3 MB, free: 1.043 MB / 318.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.0014/0.2682, allocations: 0.9131 MB / 410.3 MB, free: 76 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.2682, allocations: 12.03 kB / 410.3 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.2683, allocations: 64.19 kB / 410.3 MB, free: 0 / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006627/0.269, allocations: 446.8 kB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.869e-05/0.2691, allocations: 63.25 kB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.2692, allocations: 32.36 kB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007647/0.2699, allocations: 0.506 MB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.27, allocations: 7.938 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/0.27, allocations: 16 kB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.27, allocations: 8 kB / 411.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007523/0.2708, allocations: 351.8 kB / 411.7 MB, free: 14.49 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.001877/0.2727, allocations: 1.339 MB / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008193/0.2735, allocations: 460.2 kB / 413.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/0.2739, allocations: 189.4 kB / 413.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.2739, allocations: 4 kB / 413.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.274, allocations: 46.56 kB / 413.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.693e-06/0.274, allocations: 0 / 413.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.00149/0.2755, allocations: 0.7429 MB / 414.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001643/0.2756, allocations: 452.9 kB / 415 MB, free: 10.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000464/0.2761, allocations: 481.9 kB / 415.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.2762, allocations: 37.7 kB / 415.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.2763, allocations: 232.5 kB / 415.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.833e-05/0.2764, allocations: 138.1 kB / 415.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.2766, allocations: 85.59 kB / 415.9 MB, free: 10 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2767, allocations: 358.8 kB / 416.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.277, allocations: 143.9 kB / 416.4 MB, free: 9.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/0.2775, allocations: 290.3 kB / 416.7 MB, free: 9.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006909/0.2782, allocations: 347.1 kB / 417 MB, free: 8.812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2782, allocations: 3.938 kB / 417 MB, free: 8.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009279/0.2792, allocations: 0.4919 MB / 417.5 MB, free: 8.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.2792, allocations: 29.7 kB / 417.5 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2792, allocations: 4 kB / 417.5 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/0.2794, allocations: 45.69 kB / 417.6 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.2798, allocations: 91.86 kB / 417.7 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.282, allocations: 2.961 MB / 420.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/0.2824, allocations: 55.7 kB / 420.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.2825, allocations: 11.98 kB / 420.7 MB, free: 4.812 MB / 334.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.0002166/0.2827, allocations: 181.9 kB / 420.9 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/0.2828, allocations: 55.34 kB / 420.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.2829, allocations: 60.91 kB / 421 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2829, allocations: 4 kB / 421 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2829, allocations: 3.938 kB / 421 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008845/0.2838, allocations: 0.7386 MB / 421.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.2853, allocations: 1.046 MB / 422.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2853, allocations: 3.938 kB / 422.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.2858, allocations: 91.88 kB / 422.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.2858, allocations: 4 kB / 422.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.2858, allocations: 4 kB / 422.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.2858, allocations: 4 kB / 422.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2858, allocations: 0 / 422.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.287, allocations: 0.6756 MB / 423.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.2872, allocations: 172.3 kB / 423.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.951e-05/0.2873, allocations: 16.06 kB / 423.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/0.2877, allocations: 27.97 kB / 423.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.2877, allocations: 23.97 kB / 423.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.2877, allocations: 11.98 kB / 423.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003336/0.2881, allocations: 342.9 kB / 424.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2881, allocations: 0 / 424.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004255/0.2885, allocations: 143.8 kB / 424.3 MB, free: 1.008 MB / 334.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.0001317/0.2887, allocations: 107.7 kB / 424.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.2898, allocations: 0.6448 MB / 425 MB, free: 216 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.2898, allocations: 4.062 kB / 425 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.2901, allocations: 188.2 kB / 425.2 MB, free: 24 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006555/0.2908, allocations: 141.8 kB / 425.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.2924, allocations: 0.9905 MB / 426.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.2927, allocations: 0.8275 MB / 427.2 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.2929, allocations: 51.42 kB / 427.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2929, allocations: 0 / 427.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Templates: time 0.01119/0.3041, allocations: 9.265 MB / 436.5 MB, free: 4.754 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (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) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches