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.0009376/0.0009377, allocations: 93.8 kB / 16.31 MB, free: 5.57 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.001024/0.001024, allocations: 178.2 kB / 17.2 MB, free: 5.531 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.311/1.311, allocations: 223.3 MB / 241.2 MB, free: 336 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002374/0.0002374, allocations: 8 kB / 300.8 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08728/0.08754, allocations: 50.41 MB / 351.2 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003275/0.09084, allocations: 3.238 MB / 354.5 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.09214, allocations: 0.8766 MB / 355.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.09233, allocations: 7.938 kB / 355.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.09255, allocations: 75.38 kB / 355.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.0929, allocations: 178.6 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.09313, allocations: 99.88 kB / 355.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000574/0.09372, allocations: 0.6222 MB / 356.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.09399, allocations: 170.8 kB / 356.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.09422, allocations: 227.1 kB / 356.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.09451, allocations: 274.8 kB / 357 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.535e-05/0.09458, allocations: 36 kB / 357 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-05/0.09467, allocations: 40 kB / 357 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.921e-05/0.09476, allocations: 99.58 kB / 357.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.09488, allocations: 133.5 kB / 357.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.09532, allocations: 0.53 MB / 357.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.09533, allocations: 0 / 357.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09534, allocations: 3.938 kB / 357.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.09535, allocations: 0 / 357.8 MB, free: 13.39 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.001277/0.09663, allocations: 0.8274 MB / 358.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.09667, allocations: 12.03 kB / 358.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.09679, allocations: 75.23 kB / 358.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00062/0.09742, allocations: 425.8 kB / 359.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/0.09762, allocations: 90.66 kB / 359.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.09769, allocations: 36 kB / 359.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008861/0.09858, allocations: 0.5176 MB / 359.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.09861, allocations: 4 kB / 359.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.09866, allocations: 19.95 kB / 359.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.09867, allocations: 8 kB / 359.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008938/0.09957, allocations: 399.8 kB / 360.2 MB, free: 10.84 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.001911/0.1015, allocations: 1.343 MB / 361.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008845/0.1024, allocations: 490.7 kB / 362 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/0.1028, allocations: 220.8 kB / 362.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.41e-05/0.1029, allocations: 7.984 kB / 362.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.1029, allocations: 42.5 kB / 362.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.543e-06/0.1029, allocations: 4 kB / 362.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001611/0.1046, allocations: 0.8056 MB / 363.1 MB, free: 7.762 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002027/0.1048, allocations: 448.9 kB / 363.5 MB, free: 7.219 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004963/0.1053, allocations: 474 kB / 364 MB, free: 6.746 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.1053, allocations: 41.64 kB / 364 MB, free: 6.699 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.1055, allocations: 236.5 kB / 364.3 MB, free: 6.465 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.77e-05/0.1056, allocations: 134 kB / 364.4 MB, free: 6.332 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.1056, allocations: 8 kB / 364.4 MB, free: 6.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1058, allocations: 362.7 kB / 364.8 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/0.1062, allocations: 167.9 kB / 364.9 MB, free: 5.797 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005103/0.1067, allocations: 318.4 kB / 365.2 MB, free: 5.434 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/0.1072, allocations: 217.5 kB / 365.5 MB, free: 5.215 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1072, allocations: 0 / 365.5 MB, free: 5.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001022/0.1082, allocations: 0.5347 MB / 366 MB, free: 4.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/0.1083, allocations: 29.7 kB / 366 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1083, allocations: 0 / 366 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001644/0.1084, allocations: 53.69 kB / 366.1 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000428/0.1089, allocations: 99.88 kB / 366.2 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.111, allocations: 2.736 MB / 368.9 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.1114, allocations: 79.53 kB / 369 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.1114, allocations: 8 kB / 369 MB, free: 1.375 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00021/0.1117, allocations: 173.7 kB / 369.2 MB, free: 1.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.126e-05/0.1117, allocations: 51.44 kB / 369.2 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.1119, allocations: 68.92 kB / 369.3 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.1119, allocations: 4 kB / 369.3 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1119, allocations: 0 / 369.3 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009779/0.1129, allocations: 0.7778 MB / 370.1 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1633/0.2762, allocations: 1.084 MB / 371.1 MB, free: 25.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2762, allocations: 3.25 kB / 371.1 MB, free: 25.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/0.2767, allocations: 106.2 kB / 371.2 MB, free: 25.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.2767, allocations: 2.531 kB / 371.2 MB, free: 25.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.2768, allocations: 7.781 kB / 371.3 MB, free: 25.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.2768, allocations: 2.062 kB / 371.3 MB, free: 25.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.2768, allocations: 3.609 kB / 371.3 MB, free: 25.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.2783, allocations: 0.7411 MB / 372 MB, free: 25.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.2786, allocations: 172 kB / 372.2 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.98e-05/0.2786, allocations: 7.656 kB / 372.2 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.279, allocations: 48.28 kB / 372.2 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.088e-05/0.2791, allocations: 35.56 kB / 372.3 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.2792, allocations: 9.094 kB / 372.3 MB, free: 25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003907/0.2795, allocations: 341.1 kB / 372.6 MB, free: 24.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2796, allocations: 0 / 372.6 MB, free: 24.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004922/0.2801, allocations: 144.3 kB / 372.7 MB, free: 24.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001351/0.2802, allocations: 110.8 kB / 372.9 MB, free: 24.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.2815, allocations: 0.6884 MB / 373.5 MB, free: 24.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.2815, allocations: 1.344 kB / 373.5 MB, free: 24.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004643/0.282, allocations: 204.7 kB / 373.7 MB, free: 24.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007377/0.2828, allocations: 137.8 kB / 373.9 MB, free: 24.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.2845, allocations: 1.155 MB / 375 MB, free: 23.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.2848, allocations: 0.8349 MB / 375.9 MB, free: 23.01 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002813/0.2851, allocations: 62.97 kB / 375.9 MB, free: 22.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.2853, allocations: 41.19 kB / 376 MB, free: 22.98 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2853, allocations: 4 kB / 376 MB, free: 22.98 MB / 302.1 MB Notification: Performance of Templates: time 0.01588/0.3012, allocations: 7.971 MB / 383.9 MB, free: 20.78 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