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.001081/0.001081, allocations: 110.4 kB / 16.92 MB, free: 6.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.001131/0.001131, allocations: 191.4 kB / 17.85 MB, free: 5.414 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 / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 46.41 kB / 300.6 MB, free: 5.914 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09562/0.09695, allocations: 49.45 MB / 350 MB, free: 4.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004998/0.102, allocations: 3.74 MB / 353.8 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1037, allocations: 0.9851 MB / 354.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.104, allocations: 11.94 kB / 354.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.1043, allocations: 115 kB / 354.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.1047, allocations: 190.3 kB / 355.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.105, allocations: 147.8 kB / 355.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006914/0.1057, allocations: 0.7034 MB / 355.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.106, allocations: 219 kB / 356.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.1063, allocations: 263 kB / 356.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.1066, allocations: 302.7 kB / 356.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.998e-05/0.1067, allocations: 60 kB / 356.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.1068, allocations: 60 kB / 356.8 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1069, allocations: 135.5 kB / 356.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.1072, allocations: 322.5 kB / 357.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005882/0.1078, allocations: 0.7124 MB / 358 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1078, allocations: 0 / 358 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1078, allocations: 4 kB / 358 MB, free: 12.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.1078, allocations: 0 / 358 MB, free: 12.48 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.001552/0.1094, allocations: 0.9092 MB / 358.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1094, allocations: 16.02 kB / 358.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.1096, allocations: 68.19 kB / 359 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006298/0.1102, allocations: 434.8 kB / 359.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.1104, allocations: 87.22 kB / 359.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/0.1105, allocations: 36.28 kB / 359.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008723/0.1114, allocations: 0.5138 MB / 360 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1114, allocations: 4 kB / 360 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.1115, allocations: 16 kB / 360 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.1115, allocations: 8 kB / 360.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009488/0.1124, allocations: 375.7 kB / 360.4 MB, free: 9.875 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.002024/0.1145, allocations: 1.355 MB / 361.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009376/0.1154, allocations: 467.5 kB / 362.2 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000471/0.1159, allocations: 204.8 kB / 362.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.1159, allocations: 15.98 kB / 362.4 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.116, allocations: 38.56 kB / 362.5 MB, free: 7.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.074e-06/0.116, allocations: 0 / 362.5 MB, free: 7.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001751/0.1177, allocations: 0.7856 MB / 363.3 MB, free: 6.844 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/0.1179, allocations: 445 kB / 363.7 MB, free: 6.305 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005146/0.1184, allocations: 485.9 kB / 364.2 MB, free: 5.816 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.1185, allocations: 33.7 kB / 364.2 MB, free: 5.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.1187, allocations: 244.5 kB / 364.5 MB, free: 5.535 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.624e-05/0.1188, allocations: 134 kB / 364.6 MB, free: 5.402 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.1189, allocations: 77.7 kB / 364.7 MB, free: 5.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.119, allocations: 358.8 kB / 365 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004296/0.1195, allocations: 163.8 kB / 365.2 MB, free: 4.801 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005241/0.12, allocations: 306.4 kB / 365.5 MB, free: 4.449 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009058/0.1209, allocations: 374.8 kB / 365.8 MB, free: 4.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1209, allocations: 0 / 365.8 MB, free: 4.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00112/0.1221, allocations: 0.5191 MB / 366.4 MB, free: 3.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.1221, allocations: 33.7 kB / 366.4 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1221, allocations: 4.109 kB / 366.4 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000155/0.1223, allocations: 45.7 kB / 366.4 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/0.1227, allocations: 95.86 kB / 366.5 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.1251, allocations: 2.968 MB / 369.5 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005578/0.1257, allocations: 63.62 kB / 369.6 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.1257, allocations: 15.94 kB / 369.6 MB, free: 16 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.1454/0.2711, allocations: 168.4 kB / 369.7 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.2713, allocations: 53.47 kB / 369.8 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.2714, allocations: 58.23 kB / 369.8 MB, free: 25.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.2714, allocations: 3.688 kB / 369.9 MB, free: 25.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.2714, allocations: 4.812 kB / 369.9 MB, free: 25.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001093/0.2725, allocations: 0.7585 MB / 370.6 MB, free: 24.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.2743, allocations: 1.068 MB / 371.7 MB, free: 24.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2743, allocations: 1.062 kB / 371.7 MB, free: 24.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005028/0.2748, allocations: 102 kB / 371.8 MB, free: 24.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.2749, allocations: 1.469 kB / 371.8 MB, free: 24.4 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.2749, allocations: 6.906 kB / 371.8 MB, free: 24.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2749, allocations: 1.75 kB / 371.8 MB, free: 24.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2749, allocations: 4.969 kB / 371.8 MB, free: 24.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.2763, allocations: 0.7166 MB / 372.5 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.2765, allocations: 173.1 kB / 372.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.224e-05/0.2766, allocations: 14.69 kB / 372.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004161/0.277, allocations: 36.8 kB / 372.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.2771, allocations: 23.88 kB / 372.8 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.2771, allocations: 9.859 kB / 372.8 MB, free: 24.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004066/0.2776, allocations: 339.2 kB / 373.1 MB, free: 24.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2776, allocations: 3.969 kB / 373.1 MB, free: 24.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004919/0.2781, allocations: 140.6 kB / 373.2 MB, free: 24.04 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.0001026/0.2782, allocations: 116.5 kB / 373.4 MB, free: 23.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.2795, allocations: 0.6974 MB / 374.1 MB, free: 23.53 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2795, allocations: 1.156 kB / 374.1 MB, free: 23.53 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004472/0.28, allocations: 194.7 kB / 374.2 MB, free: 23.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000726/0.2807, allocations: 144 kB / 374.4 MB, free: 23.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.2822, allocations: 0.9643 MB / 375.3 MB, free: 22.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.2825, allocations: 0.8416 MB / 376.2 MB, free: 22.22 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002637/0.2827, allocations: 65.83 kB / 376.3 MB, free: 22.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.2829, allocations: 45.88 kB / 376.3 MB, free: 22.2 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2829, allocations: 5.344 kB / 376.3 MB, free: 22.19 MB / 302.1 MB Notification: Performance of Templates: time 0.0152/0.2981, allocations: 9.044 MB / 385.3 MB, free: 19.54 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