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.001833/0.001833, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.002197/0.002197, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.594/1.594, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.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 0.001691/0.001691, allocations: 51.92 kB / 373.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.106, allocations: 53.33 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005214/0.1112, allocations: 3.786 MB / 430.6 MB, free: 500 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1963/0.3076, allocations: 1.023 MB / 431.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000293/0.3078, allocations: 8.469 kB / 431.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000358/0.3082, allocations: 119.9 kB / 431.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.3086, allocations: 210.8 kB / 431.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.3088, allocations: 132.9 kB / 432.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000665/0.3095, allocations: 0.6993 MB / 432.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.3097, allocations: 144.6 kB / 432.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.31, allocations: 275.6 kB / 433.2 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.3102, allocations: 310.4 kB / 433.5 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.451e-05/0.3103, allocations: 59.06 kB / 433.5 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.921e-05/0.3104, allocations: 61.03 kB / 433.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.653e-05/0.3105, allocations: 134.2 kB / 433.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.3107, allocations: 320.1 kB / 434 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006383/0.3114, allocations: 0.715 MB / 434.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3114, allocations: 5.219 kB / 434.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3114, allocations: 0.9375 kB / 434.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.3114, allocations: 0 / 434.8 MB, free: 8.023 MB / 350.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.001576/0.313, allocations: 0.9327 MB / 435.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.313, allocations: 9.156 kB / 435.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.3131, allocations: 72.19 kB / 435.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006205/0.3138, allocations: 443.6 kB / 436.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.062e-05/0.3139, allocations: 61.3 kB / 436.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.118e-05/0.3139, allocations: 38.94 kB / 436.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000841/0.3148, allocations: 0.5059 MB / 436.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.3148, allocations: 5.469 kB / 436.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.3148, allocations: 12.78 kB / 436.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.3148, allocations: 8.781 kB / 436.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000904/0.3157, allocations: 352 kB / 437.2 MB, free: 6.477 MB / 350.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.002113/0.3178, allocations: 1.338 MB / 438.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009004/0.3187, allocations: 434.2 kB / 438.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004338/0.3192, allocations: 178 kB / 439.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.045e-05/0.3192, allocations: 8.172 kB / 439.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.3192, allocations: 53.02 kB / 439.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.883e-06/0.3192, allocations: 0 / 439.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001745/0.321, allocations: 0.7405 MB / 439.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.463e-05/0.3211, allocations: 449.9 kB / 440.3 MB, free: 4.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005284/0.3216, allocations: 480.2 kB / 440.8 MB, free: 4.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.3216, allocations: 34.05 kB / 440.8 MB, free: 4.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.3218, allocations: 242.3 kB / 441.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.423e-05/0.3219, allocations: 136.4 kB / 441.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.322, allocations: 84.52 kB / 441.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.659e-05/0.3221, allocations: 358 kB / 441.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004167/0.3225, allocations: 141.4 kB / 441.8 MB, free: 3.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/0.323, allocations: 290.1 kB / 442.1 MB, free: 3.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008136/0.3238, allocations: 354.5 kB / 442.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3238, allocations: 0 / 442.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001145/0.325, allocations: 0.495 MB / 442.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.325, allocations: 30.3 kB / 442.9 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.325, allocations: 1.094 kB / 442.9 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001679/0.3252, allocations: 51.16 kB / 443 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.3256, allocations: 84.03 kB / 443.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/0.3276, allocations: 2.963 MB / 446 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/0.3282, allocations: 62.27 kB / 446.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.3282, allocations: 13.11 kB / 446.1 MB, free: 15.68 MB / 366.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.0002579/0.3284, allocations: 174 kB / 446.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.3286, allocations: 59.22 kB / 446.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.3287, allocations: 60.8 kB / 446.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3287, allocations: 3.312 kB / 446.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.3287, allocations: 5.719 kB / 446.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001164/0.3299, allocations: 0.7399 MB / 447.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.3318, allocations: 1.036 MB / 448.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.3319, allocations: 5.938 kB / 448.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005/0.3324, allocations: 93.44 kB / 448.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3324, allocations: 1.094 kB / 448.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.3324, allocations: 6.891 kB / 448.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3324, allocations: 2.25 kB / 448.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3324, allocations: 0.5625 kB / 448.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.3339, allocations: 0.6769 MB / 449 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.3341, allocations: 183.5 kB / 449.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.465e-05/0.3342, allocations: 14.28 kB / 449.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/0.3346, allocations: 30.12 kB / 449.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.3347, allocations: 24.2 kB / 449.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.3347, allocations: 7.172 kB / 449.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004429/0.3351, allocations: 342 kB / 449.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3351, allocations: 0 / 449.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005144/0.3357, allocations: 138.2 kB / 449.7 MB, free: 13.49 MB / 366.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.0001455/0.3358, allocations: 112.6 kB / 449.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.3372, allocations: 0.6314 MB / 450.4 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.3372, allocations: 5.219 kB / 450.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004589/0.3376, allocations: 171.9 kB / 450.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007125/0.3383, allocations: 141 kB / 450.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.3401, allocations: 0.9727 MB / 451.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.3406, allocations: 0.8338 MB / 452.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002809/0.3409, allocations: 69.14 kB / 452.6 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.341, allocations: 41.95 kB / 452.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.341, allocations: 0 / 452.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of Templates: time 0.01779/0.3588, allocations: 9.181 MB / 461.8 MB, free: 8.395 MB / 366.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: 5.006670996546745]