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.001279/0.001279, allocations: 111.6 kB / 17.68 MB, free: 5.355 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.001207/0.001207, allocations: 192 kB / 18.62 MB, free: 4.434 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.321/1.321, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 59.41 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09351/0.09456, allocations: 49.44 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005018/0.09961, allocations: 3.736 MB / 355.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.1016, allocations: 0.9929 MB / 356.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004033/0.102, allocations: 11.94 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004242/0.1024, allocations: 111 kB / 356.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005596/0.103, allocations: 202.3 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.1034, allocations: 131.8 kB / 356.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000841/0.1042, allocations: 0.7116 MB / 357.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.1046, allocations: 214.7 kB / 357.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003266/0.1049, allocations: 267 kB / 357.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004477/0.1054, allocations: 302.7 kB / 358.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.717e-05/0.1055, allocations: 60 kB / 358.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.141e-05/0.1056, allocations: 60 kB / 358.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.1057, allocations: 131.5 kB / 358.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002943/0.106, allocations: 322.5 kB / 358.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006464/0.1067, allocations: 0.7162 MB / 359.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1067, allocations: 4 kB / 359.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1067, allocations: 4 kB / 359.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1067, allocations: 0 / 359.4 MB, free: 11.72 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.00153/0.1082, allocations: 0.9092 MB / 360.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.1083, allocations: 8.031 kB / 360.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.1084, allocations: 72.12 kB / 360.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000708/0.1091, allocations: 442.8 kB / 360.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-05/0.1092, allocations: 59.27 kB / 360.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.1093, allocations: 36.28 kB / 360.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008135/0.1101, allocations: 0.506 MB / 361.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1101, allocations: 3.984 kB / 361.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.1102, allocations: 16 kB / 361.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.1102, allocations: 8 kB / 361.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008035/0.111, allocations: 347.8 kB / 361.8 MB, free: 9.176 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.002048/0.1131, allocations: 1.351 MB / 363.2 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008918/0.114, allocations: 460.3 kB / 363.6 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004157/0.1144, allocations: 185.4 kB / 363.8 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.173e-05/0.1145, allocations: 7.984 kB / 363.8 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1145, allocations: 42.56 kB / 363.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.833e-06/0.1145, allocations: 0 / 363.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001591/0.1161, allocations: 0.7463 MB / 364.6 MB, free: 6.215 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002051/0.1163, allocations: 453 kB / 365 MB, free: 5.668 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005409/0.1169, allocations: 474 kB / 365.5 MB, free: 5.191 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.1169, allocations: 37.7 kB / 365.5 MB, free: 5.148 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.1171, allocations: 240.5 kB / 365.8 MB, free: 4.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.1172, allocations: 138 kB / 365.9 MB, free: 4.773 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.1174, allocations: 73.7 kB / 366 MB, free: 4.695 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1175, allocations: 358.8 kB / 366.3 MB, free: 4.336 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.1179, allocations: 147.9 kB / 366.5 MB, free: 4.191 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.1184, allocations: 299.4 kB / 366.8 MB, free: 3.848 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007338/0.1192, allocations: 346.8 kB / 367.1 MB, free: 3.496 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1192, allocations: 0 / 367.1 MB, free: 3.496 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001037/0.1202, allocations: 0.4918 MB / 367.6 MB, free: 2.984 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.1203, allocations: 33.69 kB / 367.6 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1203, allocations: 4.031 kB / 367.6 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001747/0.1205, allocations: 53.7 kB / 367.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/0.1209, allocations: 83.88 kB / 367.8 MB, free: 2.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.154/0.2749, allocations: 2.958 MB / 370.7 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005859/0.2755, allocations: 55.11 kB / 370.8 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.2756, allocations: 16.55 kB / 370.8 MB, free: 24.36 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.0002435/0.2758, allocations: 180.2 kB / 371 MB, free: 24.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.276, allocations: 57.06 kB / 371 MB, free: 24.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.2761, allocations: 55.56 kB / 371.1 MB, free: 24.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.2761, allocations: 3.938 kB / 371.1 MB, free: 24.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2761, allocations: 1.328 kB / 371.1 MB, free: 24.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008758/0.277, allocations: 0.7355 MB / 371.8 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.2787, allocations: 1.052 MB / 372.9 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.2787, allocations: 0 / 372.9 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/0.2792, allocations: 95.38 kB / 373 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.2792, allocations: 1.719 kB / 373 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.2792, allocations: 6.672 kB / 373 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.2792, allocations: 1.188 kB / 373 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2792, allocations: 1.469 kB / 373 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.2805, allocations: 0.6753 MB / 373.7 MB, free: 23.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.2807, allocations: 173.8 kB / 373.8 MB, free: 23.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.2808, allocations: 10.72 kB / 373.8 MB, free: 23.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.2812, allocations: 30.02 kB / 373.9 MB, free: 23.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.2813, allocations: 25.73 kB / 373.9 MB, free: 23.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.2813, allocations: 7.719 kB / 373.9 MB, free: 23.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003942/0.2817, allocations: 339.5 kB / 374.2 MB, free: 22.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2817, allocations: 1 kB / 374.2 MB, free: 22.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004581/0.2822, allocations: 143.5 kB / 374.4 MB, free: 22.95 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.0001025/0.2823, allocations: 122.4 kB / 374.5 MB, free: 22.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.2834, allocations: 0.6446 MB / 375.1 MB, free: 22.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2834, allocations: 1.375 kB / 375.1 MB, free: 22.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.2838, allocations: 180.7 kB / 375.3 MB, free: 22.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006714/0.2845, allocations: 136 kB / 375.4 MB, free: 22.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.286, allocations: 0.9545 MB / 376.4 MB, free: 21.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.2863, allocations: 0.8394 MB / 377.2 MB, free: 21.17 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002567/0.2865, allocations: 68.47 kB / 377.3 MB, free: 21.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.2867, allocations: 45.94 kB / 377.3 MB, free: 21.14 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2867, allocations: 0 / 377.3 MB, free: 21.14 MB / 302.1 MB Notification: Performance of Templates: time 0.01542/0.3021, allocations: 8.994 MB / 386.3 MB, free: 18.56 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 gbode -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