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.001822/0.001822, allocations: 81.5 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002265/0.002265, allocations: 147 kB / 23.93 MB, free: 4.176 MB / 14.72 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 1.443/1.443, allocations: 173.4 MB / 200.4 MB, free: 12.84 MB / 190.1 MB " [Timeout remaining time 178] 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.353e-06/1.353e-06, allocations: 0 / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.448e-05, allocations: 6.219 kB / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00391/0.003935, allocations: 3.42 MB / 322.3 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.005447, allocations: 0.9641 MB / 323.3 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.00565, allocations: 9.062 kB / 323.3 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.005967, allocations: 105.8 kB / 323.4 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003819/0.006349, allocations: 219.2 kB / 323.6 MB, free: 340 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.00662, allocations: 140.5 kB / 323.8 MB, free: 260 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007643/0.007384, allocations: 0.7324 MB / 324.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.007635, allocations: 131.8 kB / 324.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004952/0.00813, allocations: 408.7 kB / 325 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003486/0.008479, allocations: 230 kB / 325.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.569e-05/0.008574, allocations: 59.12 kB / 325.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.008693, allocations: 61.44 kB / 325.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.008845, allocations: 131.8 kB / 325.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003161/0.009161, allocations: 227.8 kB / 325.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.01019, allocations: 0.7366 MB / 326.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.01019, allocations: 8.938 kB / 326.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01019, allocations: 0 / 326.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.0102, allocations: 0 / 326.5 MB, free: 15.05 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.001791/0.01199, allocations: 0.853 MB / 327.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.01203, allocations: 11.36 kB / 327.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.01217, allocations: 67.53 kB / 327.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007983/0.01297, allocations: 385.1 kB / 327.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.01313, allocations: 111.5 kB / 327.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-05/0.0132, allocations: 35.56 kB / 327.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.01446, allocations: 0.8797 MB / 328.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.01448, allocations: 192 / 328.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/0.01453, allocations: 25.72 kB / 328.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.01455, allocations: 7.938 kB / 328.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009204/0.01547, allocations: 349.9 kB / 329.2 MB, free: 13.11 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.002096/0.01756, allocations: 0.9866 MB / 330.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009735/0.01854, allocations: 361.1 kB / 330.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004614/0.019, allocations: 181.7 kB / 330.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.01904, allocations: 5.125 kB / 330.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.01908, allocations: 39.08 kB / 330.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.773e-06/0.01908, allocations: 1.062 kB / 330.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.0017/0.02078, allocations: 0.591 MB / 331.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002784/0.02106, allocations: 448.9 kB / 331.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/0.02164, allocations: 431.6 kB / 332.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.0217, allocations: 34.36 kB / 332.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.02194, allocations: 251.5 kB / 332.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.02207, allocations: 136 kB / 332.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.02223, allocations: 79.41 kB / 332.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.02244, allocations: 360.6 kB / 333 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/0.02287, allocations: 173.1 kB / 333.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007977/0.02366, allocations: 0.6915 MB / 333.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008421/0.02451, allocations: 359 kB / 334.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.02451, allocations: 0 / 334.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001167/0.02568, allocations: 0.5087 MB / 334.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.02571, allocations: 31.61 kB / 334.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.02572, allocations: 5.125 kB / 334.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.02589, allocations: 49.44 kB / 334.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/0.02632, allocations: 87.22 kB / 334.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/0.02904, allocations: 2.696 MB / 337.6 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004981/0.02954, allocations: 52.62 kB / 337.7 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.02958, allocations: 16.27 kB / 337.7 MB, free: 6.387 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.0002606/0.02984, allocations: 173.3 kB / 337.8 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.811e-05/0.02994, allocations: 58.73 kB / 337.9 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.03006, allocations: 60.23 kB / 338 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.03006, allocations: 3 kB / 338 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.03007, allocations: 0 / 338 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/0.03117, allocations: 0.7344 MB / 338.7 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.03289, allocations: 0.8893 MB / 339.6 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.0329, allocations: 0 / 339.6 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/0.03337, allocations: 87.25 kB / 339.7 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.03338, allocations: 1.25 kB / 339.7 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.0334, allocations: 10.5 kB / 339.7 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.03341, allocations: 1.219 kB / 339.7 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.03341, allocations: 9.328 kB / 339.7 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.03481, allocations: 0.673 MB / 340.4 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.03501, allocations: 90.28 kB / 340.4 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.948e-05/0.03508, allocations: 13.44 kB / 340.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.03548, allocations: 28.81 kB / 340.5 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.252e-05/0.03557, allocations: 25.45 kB / 340.5 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.03559, allocations: 5.875 kB / 340.5 MB, free: 4.281 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003707/0.03596, allocations: 305.7 kB / 340.8 MB, free: 4.098 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.03596, allocations: 0 / 340.8 MB, free: 4.098 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004938/0.03645, allocations: 152 kB / 341 MB, free: 4.066 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.0001474/0.0366, allocations: 108.9 kB / 341.1 MB, free: 3.969 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.03794, allocations: 0.6701 MB / 341.7 MB, free: 3.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.03795, allocations: 1.531 kB / 341.7 MB, free: 3.465 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004286/0.03838, allocations: 176.1 kB / 341.9 MB, free: 3.387 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006909/0.03907, allocations: 137.1 kB / 342.1 MB, free: 3.309 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.04075, allocations: 0.8707 MB / 342.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.04101, allocations: 238.1 kB / 343.2 MB, free: 2.273 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00024/0.04125, allocations: 56.25 kB / 343.2 MB, free: 2.215 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.04139, allocations: 40.5 kB / 343.2 MB, free: 2.176 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.04139, allocations: 0 / 343.2 MB, free: 2.176 MB / 302.1 MB Notification: Performance of Templates: time 0.01798/0.05937, allocations: 9.329 MB / 352.6 MB, free: 9.074 MB / 318.1 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.680303409695625]