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.0009696/0.0009697, allocations: 112 kB / 17.68 MB, free: 5.332 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.0009874/0.0009874, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.308/1.308, allocations: 222.9 MB / 242.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008997/0.0008997, allocations: 52.14 kB / 302 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08331/0.08423, allocations: 49.46 MB / 351.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004563/0.08883, allocations: 3.728 MB / 355.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.09043, allocations: 1.001 MB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.09064, allocations: 4 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.09098, allocations: 115 kB / 356.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.09136, allocations: 194.3 kB / 356.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.09165, allocations: 139.8 kB / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006704/0.09233, allocations: 0.7158 MB / 357.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002822/0.09262, allocations: 202.7 kB / 357.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.09287, allocations: 271 kB / 357.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.09319, allocations: 306.6 kB / 358.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.585e-05/0.09328, allocations: 60 kB / 358.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.453e-05/0.09337, allocations: 60 kB / 358.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.09349, allocations: 127.6 kB / 358.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002802/0.09377, allocations: 326.4 kB / 358.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006192/0.0944, allocations: 0.7124 MB / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.09441, allocations: 3.938 kB / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.09442, allocations: 0 / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.09443, allocations: 0 / 359.4 MB, free: 11.7 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001484/0.09592, allocations: 0.9131 MB / 360.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.09597, allocations: 12.03 kB / 360.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.09609, allocations: 72.19 kB / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.09679, allocations: 434.8 kB / 360.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.911e-05/0.09689, allocations: 59.27 kB / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.285e-05/0.09697, allocations: 40.28 kB / 360.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008314/0.09781, allocations: 0.5098 MB / 361.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.09783, allocations: 0 / 361.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.09788, allocations: 20 kB / 361.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.0979, allocations: 11.98 kB / 361.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007887/0.09869, allocations: 347.8 kB / 361.8 MB, free: 9.141 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.001988/0.1007, allocations: 1.347 MB / 363.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008425/0.1015, allocations: 452.7 kB / 363.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003966/0.1019, allocations: 197.4 kB / 363.8 MB, free: 7.035 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.102, allocations: 4 kB / 363.8 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.102, allocations: 42.5 kB / 363.9 MB, free: 6.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.723e-06/0.1021, allocations: 0 / 363.9 MB, free: 6.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001516/0.1036, allocations: 0.746 MB / 364.6 MB, free: 6.184 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/0.1038, allocations: 441 kB / 365 MB, free: 5.648 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005145/0.1043, allocations: 482 kB / 365.5 MB, free: 5.164 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/0.1043, allocations: 37.7 kB / 365.5 MB, free: 5.121 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.1045, allocations: 248.5 kB / 365.8 MB, free: 4.875 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.403e-05/0.1046, allocations: 126.1 kB / 365.9 MB, free: 4.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.1048, allocations: 81.62 kB / 366 MB, free: 4.664 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1049, allocations: 354.8 kB / 366.3 MB, free: 4.309 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.1053, allocations: 151.9 kB / 366.5 MB, free: 4.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.1058, allocations: 294.4 kB / 366.8 MB, free: 3.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007204/0.1065, allocations: 346.8 kB / 367.1 MB, free: 3.469 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1065, allocations: 0 / 367.1 MB, free: 3.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009526/0.1075, allocations: 495.6 kB / 367.6 MB, free: 2.965 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.1075, allocations: 33.7 kB / 367.6 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1075, allocations: 7.922 kB / 367.6 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001574/0.1077, allocations: 53.7 kB / 367.7 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.1081, allocations: 91.91 kB / 367.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1537/0.2618, allocations: 2.95 MB / 370.7 MB, free: 24.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006109/0.2625, allocations: 52.5 kB / 370.8 MB, free: 24.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/0.2626, allocations: 16.94 kB / 370.8 MB, free: 24.34 MB / 302.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.0003342/0.2629, allocations: 177.4 kB / 371 MB, free: 24.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.2631, allocations: 58.16 kB / 371 MB, free: 24.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.2632, allocations: 60.8 kB / 371.1 MB, free: 24.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2633, allocations: 5.406 kB / 371.1 MB, free: 24.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2633, allocations: 0 / 371.1 MB, free: 24.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009297/0.2642, allocations: 0.7347 MB / 371.8 MB, free: 23.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.266, allocations: 1.043 MB / 372.9 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2661, allocations: 0.7969 kB / 372.9 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004788/0.2665, allocations: 95.3 kB / 373 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.2666, allocations: 4.594 kB / 373 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.2666, allocations: 10.27 kB / 373 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.2666, allocations: 2.828 kB / 373 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2666, allocations: 0 / 373 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.2679, allocations: 0.6806 MB / 373.7 MB, free: 23.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.2681, allocations: 173.4 kB / 373.8 MB, free: 23.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.391e-05/0.2682, allocations: 8 kB / 373.8 MB, free: 23.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.2686, allocations: 29.58 kB / 373.9 MB, free: 23.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-05/0.2687, allocations: 24.89 kB / 373.9 MB, free: 23.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.2687, allocations: 16.75 kB / 373.9 MB, free: 23.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004823/0.2692, allocations: 338.9 kB / 374.2 MB, free: 22.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2692, allocations: 0 / 374.2 MB, free: 22.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005791/0.2698, allocations: 140 kB / 374.4 MB, free: 22.89 MB / 302.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.0001419/0.27, allocations: 113.1 kB / 374.5 MB, free: 22.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.2711, allocations: 0.6471 MB / 375.1 MB, free: 22.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.2712, allocations: 1.281 kB / 375.1 MB, free: 22.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003978/0.2716, allocations: 183.7 kB / 375.3 MB, free: 22.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006716/0.2723, allocations: 149.3 kB / 375.4 MB, free: 22.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.274, allocations: 0.9536 MB / 376.4 MB, free: 21.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.2743, allocations: 0.8418 MB / 377.2 MB, free: 21.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003044/0.2747, allocations: 63.2 kB / 377.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.2748, allocations: 41.94 kB / 377.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2748, allocations: 0 / 377.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of Templates: time 0.01633/0.2911, allocations: 9.001 MB / 386.3 MB, free: 18.5 MB / 302.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 -s cvode -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