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.0008081/0.0008081, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004203/0.004203, allocations: 160.2 kB / 24.7 MB, free: 9.43 MB / 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 0.8437/0.8437, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.132e-06/1.132e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.72e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00374/0.003757, allocations: 3.452 MB / 329.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.004809, allocations: 0.9929 MB / 330.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.004956, allocations: 7.938 kB / 330.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.005205, allocations: 111.1 kB / 330.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.005473, allocations: 218 kB / 330.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.005658, allocations: 139.8 kB / 330.7 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004889/0.006147, allocations: 0.7343 MB / 331.5 MB, free: 9.758 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.006342, allocations: 138.9 kB / 331.6 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.006604, allocations: 407.1 kB / 332 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.006807, allocations: 223.4 kB / 332.2 MB, free: 9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.006864, allocations: 60 kB / 332.3 MB, free: 8.941 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.307e-05/0.006917, allocations: 60 kB / 332.3 MB, free: 8.883 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.006985, allocations: 131.5 kB / 332.5 MB, free: 8.754 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.007122, allocations: 231.5 kB / 332.7 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004749/0.007597, allocations: 0.7359 MB / 333.4 MB, free: 7.789 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.0076, allocations: 8 kB / 333.4 MB, free: 7.781 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007601, allocations: 0 / 333.4 MB, free: 7.781 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.007606, allocations: 0 / 333.4 MB, free: 7.781 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.0009499/0.008556, allocations: 0.8597 MB / 334.3 MB, free: 6.887 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.008588, allocations: 8.031 kB / 334.3 MB, free: 6.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.111e-05/0.008669, allocations: 68.56 kB / 334.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.009132, allocations: 380.6 kB / 334.7 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.455e-05/0.009217, allocations: 114.6 kB / 334.9 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.009263, allocations: 40.33 kB / 334.9 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000612/0.009875, allocations: 0.8815 MB / 335.8 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.009888, allocations: 192 / 335.8 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.009918, allocations: 24.12 kB / 335.8 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.009925, allocations: 8 kB / 335.8 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000723/0.01065, allocations: 347.8 kB / 336.1 MB, free: 4.848 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.00121/0.01186, allocations: 0.9891 MB / 337.1 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.01236, allocations: 363.3 kB / 337.5 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.01258, allocations: 176.8 kB / 337.7 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.01261, allocations: 4 kB / 337.7 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.01263, allocations: 38.56 kB / 337.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 1.413e-06/0.01263, allocations: 0 / 337.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.0008974/0.01353, allocations: 0.5843 MB / 338.3 MB, free: 2.625 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.01366, allocations: 452.9 kB / 338.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.01396, allocations: 429.9 kB / 339.1 MB, free: 1.648 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.014, allocations: 41.7 kB / 339.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.01412, allocations: 252.5 kB / 339.4 MB, free: 1.348 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.01418, allocations: 130.8 kB / 339.6 MB, free: 1.219 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.4e-05/0.01427, allocations: 85.59 kB / 339.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.01436, allocations: 362.7 kB / 340 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.01458, allocations: 169.6 kB / 340.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.01497, allocations: 0.6891 MB / 340.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/0.01539, allocations: 343 kB / 341.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.0154, allocations: 4 kB / 341.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005622/0.01596, allocations: 0.5018 MB / 341.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.01599, allocations: 41.69 kB / 341.7 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.01599, allocations: 0 / 341.7 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/0.01612, allocations: 45.7 kB / 341.8 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.01633, allocations: 87.88 kB / 341.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.018, allocations: 2.704 MB / 344.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.01819, allocations: 51.8 kB / 344.6 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.01822, allocations: 12.16 kB / 344.6 MB, free: 11.73 MB / 314.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.000139/0.01836, allocations: 177.7 kB / 344.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.01841, allocations: 51.67 kB / 344.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.01846, allocations: 56.61 kB / 344.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01846, allocations: 4 kB / 344.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.01847, allocations: 0 / 344.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005486/0.01901, allocations: 0.7473 MB / 345.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009082/0.01992, allocations: 0.8764 MB / 346.5 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01992, allocations: 0 / 346.5 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.02014, allocations: 95.88 kB / 346.6 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.02015, allocations: 4 kB / 346.6 MB, free: 9.551 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.02016, allocations: 7.984 kB / 346.6 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.02016, allocations: 0 / 346.6 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.02017, allocations: 4 kB / 346.6 MB, free: 9.539 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007124/0.02088, allocations: 0.6728 MB / 347.3 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.02099, allocations: 91.58 kB / 347.4 MB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.02103, allocations: 12 kB / 347.4 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.0212, allocations: 23.97 kB / 347.4 MB, free: 8.723 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.02125, allocations: 27.89 kB / 347.5 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.02126, allocations: 15.98 kB / 347.5 MB, free: 8.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002044/0.02147, allocations: 307.1 kB / 347.8 MB, free: 8.387 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02147, allocations: 4.062 kB / 347.8 MB, free: 8.383 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002627/0.02173, allocations: 147.8 kB / 347.9 MB, free: 8.238 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 8.885e-05/0.02182, allocations: 111.1 kB / 348 MB, free: 8.117 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006931/0.02251, allocations: 0.6623 MB / 348.7 MB, free: 7.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.02251, allocations: 4 kB / 348.7 MB, free: 7.406 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.02274, allocations: 167.5 kB / 348.9 MB, free: 7.242 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.02312, allocations: 141.9 kB / 349 MB, free: 7.105 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.02414, allocations: 0.9083 MB / 349.9 MB, free: 6.164 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.02453, allocations: 238.1 kB / 350.2 MB, free: 5.906 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.955e-05/0.02463, allocations: 48.48 kB / 350.2 MB, free: 5.859 MB / 314.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02463, allocations: 0 / 350.2 MB, free: 5.859 MB / 314.7 MB Notification: Performance of Templates: time 0.007266/0.0319, allocations: 9.248 MB / 359.5 MB, free: 12.68 MB / 330.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.907852151431143]