Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 88.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 177.2 MB / 204.6 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.792e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005364/0.005391, allocations: 3.456 MB / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.007498, allocations: 0.9773 MB / 276.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.007705, allocations: 7.938 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.008062, allocations: 115 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004554/0.008517, allocations: 218.1 kB / 277.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.008834, allocations: 147.7 kB / 277.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008717/0.009706, allocations: 0.7312 MB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.009991, allocations: 135.2 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005121/0.0105, allocations: 407.1 kB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003611/0.01086, allocations: 223.4 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.01097, allocations: 60 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.01108, allocations: 60 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.01122, allocations: 135.5 kB / 278.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002831/0.0115, allocations: 223.5 kB / 279.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009049/0.01241, allocations: 0.7359 MB / 279.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.01241, allocations: 4 kB / 279.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01241, allocations: 4 kB / 279.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.01242, allocations: 0 / 279.9 MB, free: 10.17 MB / 266.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.001746/0.01417, allocations: 0.8569 MB / 280.8 MB, free: 9.273 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.0142, allocations: 8.031 kB / 280.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.01439, allocations: 96.56 kB / 280.9 MB, free: 9.172 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008346/0.01523, allocations: 392.5 kB / 281.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.01539, allocations: 106.7 kB / 281.4 MB, free: 8.637 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.67e-05/0.01548, allocations: 48.33 kB / 281.4 MB, free: 8.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.01677, allocations: 0.8752 MB / 282.3 MB, free: 7.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.01679, allocations: 192 / 282.3 MB, free: 7.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.413e-05/0.01684, allocations: 24.12 kB / 282.3 MB, free: 7.547 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.01685, allocations: 8 kB / 282.3 MB, free: 7.539 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009536/0.01781, allocations: 351.8 kB / 282.7 MB, free: 7.195 MB / 266.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.002303/0.02011, allocations: 0.993 MB / 283.6 MB, free: 6.164 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009531/0.02106, allocations: 355.2 kB / 284 MB, free: 5.805 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000464/0.02153, allocations: 180.5 kB / 284.2 MB, free: 5.625 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.751e-05/0.02158, allocations: 8 kB / 284.2 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.02162, allocations: 46.55 kB / 284.2 MB, free: 5.562 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.443e-06/0.02162, allocations: 0 / 284.2 MB, free: 5.562 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.001777/0.0234, allocations: 0.5963 MB / 284.8 MB, free: 4.953 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003121/0.02371, allocations: 449 kB / 285.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005691/0.02428, allocations: 429.9 kB / 285.7 MB, free: 3.984 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/0.02433, allocations: 37.7 kB / 285.7 MB, free: 3.941 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.02457, allocations: 252.5 kB / 286 MB, free: 3.688 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.02471, allocations: 138.8 kB / 286.1 MB, free: 3.551 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.02487, allocations: 77.66 kB / 286.2 MB, free: 3.469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.02509, allocations: 362.7 kB / 286.5 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/0.02554, allocations: 165.6 kB / 286.7 MB, free: 2.938 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008596/0.02639, allocations: 0.693 MB / 287.4 MB, free: 2.094 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008661/0.02726, allocations: 343.1 kB / 287.7 MB, free: 1.746 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02726, allocations: 0 / 287.7 MB, free: 1.746 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00122/0.02848, allocations: 0.5253 MB / 288.2 MB, free: 1.195 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/0.02853, allocations: 33.7 kB / 288.3 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.02853, allocations: 0 / 288.3 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.02871, allocations: 45.7 kB / 288.3 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/0.02916, allocations: 91.81 kB / 288.4 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003132/0.0323, allocations: 2.704 MB / 291.1 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004394/0.03274, allocations: 51.8 kB / 291.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.03277, allocations: 11.98 kB / 291.2 MB, free: 14.04 MB / 282.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.0002477/0.03302, allocations: 181.8 kB / 291.4 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.03315, allocations: 63.67 kB / 291.4 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.03326, allocations: 52.62 kB / 291.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.03327, allocations: 4 kB / 291.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.03327, allocations: 3.984 kB / 291.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001229/0.0345, allocations: 0.7512 MB / 292.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.03631, allocations: 0.8805 MB / 293.1 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.03632, allocations: 0 / 293.1 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005051/0.03682, allocations: 95.88 kB / 293.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.03682, allocations: 0 / 293.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.03685, allocations: 8 kB / 293.2 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.03686, allocations: 0 / 293.2 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.03686, allocations: 0 / 293.2 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.03846, allocations: 0.6962 MB / 293.9 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.03867, allocations: 91.53 kB / 294 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/0.03874, allocations: 12 kB / 294 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.03913, allocations: 27.97 kB / 294 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/0.03921, allocations: 23.95 kB / 294.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.03924, allocations: 16 kB / 294.1 MB, free: 10.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004123/0.03965, allocations: 303.1 kB / 294.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03965, allocations: 0 / 294.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004901/0.04014, allocations: 147.8 kB / 294.5 MB, free: 10.53 MB / 282.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 0.0001559/0.0403, allocations: 115.2 kB / 294.6 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001381/0.04168, allocations: 0.6652 MB / 295.3 MB, free: 9.703 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.04168, allocations: 4.062 kB / 295.3 MB, free: 9.699 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004465/0.04213, allocations: 167.8 kB / 295.5 MB, free: 9.535 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006956/0.04282, allocations: 145.8 kB / 295.6 MB, free: 9.395 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.04454, allocations: 0.8984 MB / 296.5 MB, free: 8.461 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.04481, allocations: 238.1 kB / 296.7 MB, free: 8.199 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002441/0.04506, allocations: 56.25 kB / 296.8 MB, free: 8.145 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.0452, allocations: 44.48 kB / 296.8 MB, free: 8.102 MB / 282.7 MB Notification: Performance of SimCode: time 5.92e-07/0.0452, allocations: 7.938 kB / 296.8 MB, free: 8.094 MB / 282.7 MB Notification: Performance of Templates: time 0.1078/0.153, allocations: 9.34 MB / 306.2 MB, free: 42.41 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.706997651024722]