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.001285/0.001285, allocations: 82.19 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001416/0.001416, allocations: 165.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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.422/1.422, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.794e-06/1.794e-06, allocations: 3.938 kB / 325 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.516e-05, allocations: 2.281 kB / 325 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005132/0.005157, allocations: 3.449 MB / 328.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.007214, allocations: 0.9987 MB / 329.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.007417, allocations: 9.188 kB / 329.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.007766, allocations: 105.9 kB / 329.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004697/0.008236, allocations: 218 kB / 329.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.008581, allocations: 140.7 kB / 330 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000924/0.009505, allocations: 0.7326 MB / 330.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/0.009789, allocations: 133.2 kB / 330.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005406/0.01033, allocations: 407.7 kB / 331.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003556/0.01069, allocations: 224.2 kB / 331.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.289e-05/0.01078, allocations: 63.25 kB / 331.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.01089, allocations: 60.16 kB / 331.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.01102, allocations: 130.6 kB / 331.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002795/0.0113, allocations: 231.3 kB / 331.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008428/0.01214, allocations: 0.7429 MB / 332.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.01215, allocations: 1.406 kB / 332.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01215, allocations: 0 / 332.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.01216, allocations: 0 / 332.7 MB, free: 11.67 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.001846/0.014, allocations: 0.8574 MB / 333.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.587e-05/0.01407, allocations: 8.469 kB / 333.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.01425, allocations: 68.38 kB / 333.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008785/0.01513, allocations: 385.2 kB / 334 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.01528, allocations: 110 kB / 334.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/0.01535, allocations: 38.89 kB / 334.1 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.01655, allocations: 0.8779 MB / 335 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.01657, allocations: 192 / 335 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.125e-05/0.01662, allocations: 25.55 kB / 335 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.01663, allocations: 11.78 kB / 335 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009205/0.01755, allocations: 346.6 kB / 335.4 MB, free: 9.48 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.002195/0.01974, allocations: 0.9885 MB / 336.4 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000915/0.02066, allocations: 356.4 kB / 336.7 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004724/0.02113, allocations: 178.6 kB / 336.9 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.483e-05/0.02118, allocations: 12.84 kB / 336.9 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.02121, allocations: 39.38 kB / 336.9 MB, free: 8.426 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.863e-06/0.02122, allocations: 0 / 336.9 MB, free: 8.426 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001704/0.02292, allocations: 0.5843 MB / 337.5 MB, free: 8.121 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002537/0.02317, allocations: 451.1 kB / 338 MB, free: 7.582 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.02368, allocations: 430.5 kB / 338.4 MB, free: 7.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.02373, allocations: 42.23 kB / 338.4 MB, free: 7.277 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.02394, allocations: 248.6 kB / 338.7 MB, free: 7.055 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.02405, allocations: 133.5 kB / 338.8 MB, free: 6.938 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.02421, allocations: 86.5 kB / 338.9 MB, free: 6.879 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.0244, allocations: 364.5 kB / 339.2 MB, free: 6.523 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/0.02483, allocations: 176.9 kB / 339.4 MB, free: 6.371 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007811/0.02561, allocations: 0.6891 MB / 340.1 MB, free: 5.531 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008611/0.02647, allocations: 347 kB / 340.4 MB, free: 5.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02648, allocations: 0 / 340.4 MB, free: 5.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001159/0.02764, allocations: 0.5018 MB / 340.9 MB, free: 4.652 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.02768, allocations: 37.69 kB / 341 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.02768, allocations: 8.031 kB / 341 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.02786, allocations: 41.7 kB / 341 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.02832, allocations: 87.88 kB / 341.1 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.03103, allocations: 2.693 MB / 343.8 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000516/0.03154, allocations: 51.8 kB / 343.8 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.03158, allocations: 16 kB / 343.9 MB, free: 1.508 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.0002528/0.03183, allocations: 173.7 kB / 344 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.03194, allocations: 59.59 kB / 344.1 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.03205, allocations: 52.62 kB / 344.1 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.03206, allocations: 8.234 kB / 344.1 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.03206, allocations: 0 / 344.1 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001148/0.03321, allocations: 0.7398 MB / 344.9 MB, free: 368 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.03501, allocations: 0.8884 MB / 345.8 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.03501, allocations: 0 / 345.8 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005111/0.03552, allocations: 91.88 kB / 345.9 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.03553, allocations: 0 / 345.9 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.03556, allocations: 11.98 kB / 345.9 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.03556, allocations: 0 / 345.9 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.03556, allocations: 0 / 345.9 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.03702, allocations: 0.6723 MB / 346.5 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.03723, allocations: 87.58 kB / 346.6 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.36e-05/0.0373, allocations: 16 kB / 346.6 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.03771, allocations: 32.03 kB / 346.7 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.03778, allocations: 27.89 kB / 346.7 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.03781, allocations: 15.98 kB / 346.7 MB, free: 14.45 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003692/0.03818, allocations: 303.1 kB / 347 MB, free: 14.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.03818, allocations: 0 / 347 MB, free: 14.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004963/0.03868, allocations: 147.8 kB / 347.2 MB, free: 14.02 MB / 318.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.0001522/0.03883, allocations: 119.1 kB / 347.3 MB, free: 13.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.04023, allocations: 0.6703 MB / 348 MB, free: 13.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.04023, allocations: 0 / 348 MB, free: 13.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004528/0.04069, allocations: 171.6 kB / 348.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006659/0.04135, allocations: 136.9 kB / 348.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.04301, allocations: 0.8904 MB / 349.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.04324, allocations: 226.1 kB / 349.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002358/0.04347, allocations: 60.25 kB / 349.4 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.04361, allocations: 48.48 kB / 349.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.04361, allocations: 0 / 349.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of Templates: time 0.01721/0.06082, allocations: 9.334 MB / 358.8 MB, free: 2.496 MB / 318.1 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.538699124008417]