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.001207/0.001207, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.22 kB / 307.1 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09151/0.09283, allocations: 50.54 MB / 357.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005466/0.09833, allocations: 3.786 MB / 361.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.1004, allocations: 1.036 MB / 362.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004458/0.1008, allocations: 4 kB / 362.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000465/0.1014, allocations: 95.36 kB / 362.6 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006126/0.102, allocations: 170.6 kB / 362.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.1024, allocations: 115.9 kB / 362.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009168/0.1033, allocations: 0.7003 MB / 363.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/0.1036, allocations: 207 kB / 363.7 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.104, allocations: 267 kB / 364 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/0.1044, allocations: 306.6 kB / 364.3 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.1046, allocations: 60 kB / 364.4 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.1047, allocations: 60 kB / 364.4 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1048, allocations: 127.6 kB / 364.5 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003158/0.1051, allocations: 322.5 kB / 364.9 MB, free: 7.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005183/0.1057, allocations: 0.5455 MB / 365.4 MB, free: 6.613 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1057, allocations: 0 / 365.4 MB, free: 6.613 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1057, allocations: 0 / 365.4 MB, free: 6.613 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.072e-05/0.1057, allocations: 0 / 365.4 MB, free: 6.613 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.001678/0.1074, allocations: 0.9209 MB / 366.3 MB, free: 5.633 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1074, allocations: 16.03 kB / 366.3 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.1076, allocations: 64.19 kB / 366.4 MB, free: 5.555 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000671/0.1083, allocations: 438.7 kB / 366.8 MB, free: 5.086 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002157/0.1085, allocations: 83.22 kB / 366.9 MB, free: 5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.073e-05/0.1086, allocations: 32.38 kB / 366.9 MB, free: 4.969 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009312/0.1095, allocations: 0.5138 MB / 367.5 MB, free: 4.402 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.1095, allocations: 7.984 kB / 367.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.1096, allocations: 19.94 kB / 367.5 MB, free: 4.375 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.1096, allocations: 12 kB / 367.5 MB, free: 4.363 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009271/0.1105, allocations: 379.7 kB / 367.9 MB, free: 3.988 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.002169/0.1127, allocations: 1.347 MB / 369.2 MB, free: 2.547 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009052/0.1136, allocations: 476.4 kB / 369.7 MB, free: 2.051 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004472/0.1141, allocations: 200.8 kB / 369.9 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.427e-05/0.1141, allocations: 4 kB / 369.9 MB, free: 1.848 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1142, allocations: 42.56 kB / 369.9 MB, free: 1.797 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.315e-06/0.1142, allocations: 0 / 369.9 MB, free: 1.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001774/0.116, allocations: 0.7823 MB / 370.7 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001899/0.1162, allocations: 444.9 kB / 371.1 MB, free: 436 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1634/0.2796, allocations: 473.2 kB / 371.6 MB, free: 20.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.2797, allocations: 35.81 kB / 371.6 MB, free: 20.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.2799, allocations: 242.3 kB / 371.9 MB, free: 20.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.28, allocations: 130.6 kB / 372 MB, free: 20.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.2802, allocations: 78.88 kB / 372.1 MB, free: 20.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.2803, allocations: 365.3 kB / 372.4 MB, free: 19.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004882/0.2808, allocations: 158.5 kB / 372.6 MB, free: 19.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.2813, allocations: 307.3 kB / 372.9 MB, free: 19.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008462/0.2822, allocations: 375.7 kB / 373.3 MB, free: 19.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2822, allocations: 0 / 373.3 MB, free: 19.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001188/0.2834, allocations: 0.5127 MB / 373.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.2834, allocations: 35.61 kB / 373.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2835, allocations: 0.6562 kB / 373.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/0.2836, allocations: 54.44 kB / 373.9 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/0.2841, allocations: 95.28 kB / 373.9 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.286, allocations: 2.969 MB / 376.9 MB, free: 16.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005244/0.2866, allocations: 57.7 kB / 377 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.2866, allocations: 13.05 kB / 377 MB, free: 16.66 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.0002112/0.2868, allocations: 173.5 kB / 377.2 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.456e-05/0.2869, allocations: 60.84 kB / 377.2 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.287, allocations: 59.2 kB / 377.3 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.287, allocations: 4.781 kB / 377.3 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2871, allocations: 1.062 kB / 377.3 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001036/0.2881, allocations: 0.7628 MB / 378 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.2898, allocations: 1.073 MB / 379.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2898, allocations: 4.453 kB / 379.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/0.2903, allocations: 103.1 kB / 379.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2903, allocations: 1.219 kB / 379.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.2903, allocations: 7.281 kB / 379.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2903, allocations: 1.25 kB / 379.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2903, allocations: 5.812 kB / 379.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.2918, allocations: 0.7126 MB / 379.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/0.2921, allocations: 167.8 kB / 380.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.719e-05/0.2922, allocations: 8.5 kB / 380.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/0.2926, allocations: 47.31 kB / 380.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.013e-05/0.2927, allocations: 21.86 kB / 380.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.2927, allocations: 9.734 kB / 380.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003928/0.2931, allocations: 339.5 kB / 380.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2931, allocations: 0 / 380.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005354/0.2937, allocations: 138.8 kB / 380.7 MB, free: 14.48 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.0001296/0.2938, allocations: 111.2 kB / 380.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.2951, allocations: 0.6889 MB / 381.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2951, allocations: 5.641 kB / 381.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004375/0.2956, allocations: 204.3 kB / 381.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007448/0.2964, allocations: 139.5 kB / 381.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.298, allocations: 1.169 MB / 383 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.2983, allocations: 0.8377 MB / 383.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.2985, allocations: 45.16 kB / 383.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2985, allocations: 3.594 kB / 383.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of Templates: time 0.01468/0.3132, allocations: 9.154 MB / 393 MB, free: 9.066 MB / 302.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