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.0007704/0.0007704, allocations: 91.8 kB / 16.65 MB, free: 6.348 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.0008356/0.0008357, allocations: 179.7 kB / 17.57 MB, free: 5.949 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.292/1.292, allocations: 223.2 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000248/0.000248, allocations: 4.5 kB / 301.4 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.101, allocations: 50.42 MB / 351.8 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003723/0.1047, allocations: 3.395 MB / 355.2 MB, free: 296 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1063, allocations: 0.9269 MB / 356.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.1064, allocations: 11.94 kB / 356.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.1067, allocations: 83.42 kB / 356.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.1071, allocations: 174.6 kB / 356.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.1073, allocations: 123.9 kB / 356.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006192/0.1079, allocations: 0.6729 MB / 357.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002845/0.1082, allocations: 183.8 kB / 357.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.1085, allocations: 242.9 kB / 357.6 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.1088, allocations: 274.8 kB / 357.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.486e-05/0.1089, allocations: 36 kB / 357.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-05/0.109, allocations: 36 kB / 358 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1091, allocations: 115.5 kB / 358.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.1094, allocations: 320.2 kB / 358.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005848/0.1099, allocations: 0.6693 MB / 359.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.11, allocations: 0 / 359.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.11, allocations: 0 / 359.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.11, allocations: 0 / 359.1 MB, free: 12.43 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.001395/0.1114, allocations: 0.8315 MB / 359.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1114, allocations: 15.91 kB / 359.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.1116, allocations: 68.19 kB / 360 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006326/0.1122, allocations: 446.8 kB / 360.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.1124, allocations: 87.23 kB / 360.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.237e-05/0.1125, allocations: 36.38 kB / 360.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009359/0.1134, allocations: 0.5255 MB / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1135, allocations: 0 / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.1135, allocations: 19.94 kB / 361.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.1135, allocations: 8 kB / 361.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009854/0.1145, allocations: 399.8 kB / 361.5 MB, free: 9.852 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.002071/0.1166, allocations: 1.359 MB / 362.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009783/0.1176, allocations: 483.8 kB / 363.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004832/0.1181, allocations: 216.8 kB / 363.5 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.1181, allocations: 12.62 kB / 363.5 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1182, allocations: 42.56 kB / 363.6 MB, free: 7.625 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.713e-06/0.1182, allocations: 3.938 kB / 363.6 MB, free: 7.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001806/0.12, allocations: 0.813 MB / 364.4 MB, free: 6.758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002049/0.1202, allocations: 445 kB / 364.8 MB, free: 6.219 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005557/0.1208, allocations: 482 kB / 365.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.1208, allocations: 37.7 kB / 365.3 MB, free: 5.695 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.121, allocations: 240.5 kB / 365.6 MB, free: 5.457 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.1212, allocations: 126.1 kB / 365.7 MB, free: 5.332 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/0.1212, allocations: 37.7 kB / 365.7 MB, free: 5.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1214, allocations: 358.8 kB / 366.1 MB, free: 4.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/0.1219, allocations: 171.9 kB / 366.2 MB, free: 4.762 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007206/0.1226, allocations: 322.2 kB / 366.6 MB, free: 4.395 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.1238, allocations: 390.8 kB / 366.9 MB, free: 4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1238, allocations: 4 kB / 366.9 MB, free: 3.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001376/0.1252, allocations: 0.5272 MB / 367.5 MB, free: 3.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.706e-05/0.1252, allocations: 33.7 kB / 367.5 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1253, allocations: 0 / 367.5 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/0.1254, allocations: 61.62 kB / 367.6 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.1259, allocations: 95.88 kB / 367.7 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.1283, allocations: 2.752 MB / 370.4 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.1288, allocations: 67.64 kB / 370.5 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.1288, allocations: 15.98 kB / 370.5 MB, free: 148 kB / 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.1621/0.2909, allocations: 171.7 kB / 370.7 MB, free: 24.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.291, allocations: 56.33 kB / 370.7 MB, free: 24.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.2912, allocations: 54.53 kB / 370.8 MB, free: 24.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2912, allocations: 3.781 kB / 370.8 MB, free: 24.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2912, allocations: 0.6562 kB / 370.8 MB, free: 24.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001149/0.2924, allocations: 0.7849 MB / 371.6 MB, free: 24.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.2943, allocations: 1.093 MB / 372.6 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.2944, allocations: 0 / 372.6 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/0.2949, allocations: 107 kB / 372.7 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.2949, allocations: 6.156 kB / 372.8 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.2949, allocations: 6.469 kB / 372.8 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.2949, allocations: 1.953 kB / 372.8 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.2949, allocations: 1.531 kB / 372.8 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.2964, allocations: 0.749 MB / 373.5 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.2966, allocations: 172.5 kB / 373.7 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.697e-05/0.2967, allocations: 9.156 kB / 373.7 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.2972, allocations: 45.22 kB / 373.7 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/0.2973, allocations: 24.36 kB / 373.8 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.2973, allocations: 7.484 kB / 373.8 MB, free: 23.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004244/0.2977, allocations: 342.1 kB / 374.1 MB, free: 23.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2977, allocations: 0 / 374.1 MB, free: 23.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000455/0.2982, allocations: 139.2 kB / 374.2 MB, free: 23.77 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.0001142/0.2983, allocations: 110.5 kB / 374.3 MB, free: 23.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.2995, allocations: 0.7011 MB / 375 MB, free: 23.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2996, allocations: 5.469 kB / 375.1 MB, free: 23.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004677/0.3, allocations: 204.8 kB / 375.3 MB, free: 23.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007137/0.3008, allocations: 137.4 kB / 375.4 MB, free: 23.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.3023, allocations: 1.202 MB / 376.6 MB, free: 22.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.3026, allocations: 0.831 MB / 377.4 MB, free: 21.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002848/0.3029, allocations: 67.03 kB / 377.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.303, allocations: 50.59 kB / 377.5 MB, free: 21.72 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.303, allocations: 0 / 377.5 MB, free: 21.72 MB / 302.1 MB Notification: Performance of Templates: time 0.01454/0.3176, allocations: 8.311 MB / 385.8 MB, free: 19.31 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/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