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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008098/0.0008098, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002992/0.002992, allocations: 146.9 kB / 24.68 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8386/0.8386, allocations: 173.4 MB / 201.2 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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=2000,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=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.088e-05, allocations: 6.219 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003125/0.003146, allocations: 3.424 MB / 323.1 MB, free: 2.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.004726, allocations: 0.9578 MB / 324.1 MB, free: 1.445 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.004953, allocations: 11.94 kB / 324.1 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.005234, allocations: 111 kB / 324.2 MB, free: 1.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.005545, allocations: 218 kB / 324.4 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.005786, allocations: 147.7 kB / 324.5 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005741/0.00636, allocations: 0.7273 MB / 325.3 MB, free: 240 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.006555, allocations: 135.2 kB / 325.4 MB, free: 104 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003522/0.006908, allocations: 407.1 kB / 325.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.007118, allocations: 223.4 kB / 326 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.675e-05/0.007174, allocations: 60 kB / 326.1 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.573e-05/0.00723, allocations: 60 kB / 326.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.198e-05/0.007302, allocations: 135.5 kB / 326.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.007469, allocations: 223.5 kB / 326.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.008007, allocations: 0.7476 MB / 327.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.008009, allocations: 4 kB / 327.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.008011, allocations: 0 / 327.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.008019, allocations: 0 / 327.2 MB, free: 14.26 MB / 298.7 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.00102/0.00904, allocations: 0.8561 MB / 328.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.009075, allocations: 8.922 kB / 328.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.327e-05/0.009168, allocations: 68.56 kB / 328.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.009656, allocations: 376.6 kB / 328.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.31e-05/0.009739, allocations: 114.7 kB / 328.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.00979, allocations: 40.31 kB / 328.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.01047, allocations: 0.883 MB / 329.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.01048, allocations: 192 / 329.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.01051, allocations: 20.12 kB / 329.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.01052, allocations: 8 kB / 329.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.01101, allocations: 355.7 kB / 329.9 MB, free: 11.32 MB / 298.7 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.0013/0.01231, allocations: 0.9852 MB / 330.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/0.01283, allocations: 351.2 kB / 331.3 MB, free: 9.938 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.01306, allocations: 176.5 kB / 331.4 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.01309, allocations: 12 kB / 331.4 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.01311, allocations: 46.3 kB / 331.5 MB, free: 9.699 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 1.293e-06/0.01311, allocations: 0 / 331.5 MB, free: 9.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.0008904/0.014, allocations: 0.5867 MB / 332.1 MB, free: 9.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.01413, allocations: 445 kB / 332.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.01448, allocations: 430 kB / 332.9 MB, free: 8.133 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.01451, allocations: 41.7 kB / 333 MB, free: 8.086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.01464, allocations: 252.5 kB / 333.2 MB, free: 7.832 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.082e-05/0.01471, allocations: 134.8 kB / 333.4 MB, free: 7.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-05/0.0148, allocations: 77.7 kB / 333.4 MB, free: 7.617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.0149, allocations: 358.7 kB / 333.8 MB, free: 7.258 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.01512, allocations: 177.5 kB / 334 MB, free: 7.078 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/0.01552, allocations: 0.693 MB / 334.6 MB, free: 6.234 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004301/0.01595, allocations: 354.6 kB / 335 MB, free: 5.875 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01595, allocations: 0 / 335 MB, free: 5.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000588/0.01654, allocations: 0.5135 MB / 335.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.01657, allocations: 29.7 kB / 335.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01658, allocations: 0 / 335.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001284/0.0167, allocations: 49.7 kB / 335.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.01691, allocations: 87.88 kB / 335.7 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.01844, allocations: 2.704 MB / 338.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.01864, allocations: 51.8 kB / 338.4 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.01865, allocations: 12.16 kB / 338.4 MB, free: 2.195 MB / 298.7 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.0001525/0.01881, allocations: 181.7 kB / 338.6 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.202e-05/0.01886, allocations: 55.67 kB / 338.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.656e-05/0.01891, allocations: 52.62 kB / 338.7 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01892, allocations: 0 / 338.7 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.01892, allocations: 4 kB / 338.7 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005581/0.01948, allocations: 0.7349 MB / 339.5 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009132/0.02039, allocations: 0.877 MB / 340.3 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.02039, allocations: 0 / 340.3 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.02062, allocations: 99.86 kB / 340.4 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.02062, allocations: 4 kB / 340.4 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.02064, allocations: 4 kB / 340.4 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.02064, allocations: 4 kB / 340.4 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.02064, allocations: 0 / 340.4 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007268/0.02137, allocations: 0.68 MB / 341.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.02148, allocations: 87.62 kB / 341.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.02152, allocations: 12 kB / 341.2 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.02169, allocations: 23.97 kB / 341.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.02174, allocations: 31.94 kB / 341.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.02176, allocations: 8 kB / 341.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002178/0.02197, allocations: 307.1 kB / 341.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02197, allocations: 64 / 341.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002875/0.02226, allocations: 151.8 kB / 341.7 MB, free: 14.71 MB / 314.7 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 9.312e-05/0.02235, allocations: 111.1 kB / 341.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007127/0.02307, allocations: 0.6695 MB / 342.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.02307, allocations: 0 / 342.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.02329, allocations: 167.8 kB / 342.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.0237, allocations: 134 kB / 342.8 MB, free: 13.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.02476, allocations: 0.9049 MB / 343.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.0249, allocations: 238 kB / 343.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.025, allocations: 48.48 kB / 344 MB, free: 12.34 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02501, allocations: 4 kB / 344 MB, free: 12.34 MB / 314.7 MB Notification: Performance of Templates: time 0.007371/0.03238, allocations: 9.241 MB / 353.2 MB, free: 3.16 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.567961996421218]