Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.447/1.447, allocations: 227.7 MB / 246.6 MB, free: 10.61 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003383/0.003383, allocations: 69.05 kB / 306.6 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1107, allocations: 50.54 MB / 357.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005204/0.1159, allocations: 3.786 MB / 360.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.1178, allocations: 1.024 MB / 361.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.1179, allocations: 15.94 kB / 361.9 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.1183, allocations: 95.36 kB / 362 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.1187, allocations: 166.7 kB / 362.2 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.1189, allocations: 119.8 kB / 362.3 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007048/0.1196, allocations: 0.6801 MB / 363 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.1199, allocations: 187.7 kB / 363.2 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.1202, allocations: 243.1 kB / 363.4 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.1206, allocations: 298.6 kB / 363.7 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.91e-05/0.1207, allocations: 40 kB / 363.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1208, allocations: 40 kB / 363.8 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.1209, allocations: 115.5 kB / 363.9 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003086/0.1212, allocations: 306.4 kB / 364.2 MB, free: 7.254 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000681/0.1219, allocations: 0.689 MB / 364.9 MB, free: 6.562 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1219, allocations: 0 / 364.9 MB, free: 6.562 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1219, allocations: 0 / 364.9 MB, free: 6.562 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1219, allocations: 4 kB / 364.9 MB, free: 6.559 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.001659/0.1236, allocations: 0.917 MB / 365.8 MB, free: 5.582 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1236, allocations: 8.031 kB / 365.8 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.1238, allocations: 68.19 kB / 365.9 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007134/0.1245, allocations: 438.7 kB / 366.3 MB, free: 5.039 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002187/0.1247, allocations: 83.22 kB / 366.4 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.1248, allocations: 40.38 kB / 366.4 MB, free: 4.914 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.1258, allocations: 0.5099 MB / 366.9 MB, free: 4.352 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1258, allocations: 0 / 366.9 MB, free: 4.352 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.1259, allocations: 16 kB / 366.9 MB, free: 4.336 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.1259, allocations: 12 kB / 366.9 MB, free: 4.324 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009944/0.1269, allocations: 379.7 kB / 367.3 MB, free: 3.949 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.002222/0.1291, allocations: 1.351 MB / 368.7 MB, free: 2.504 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000997/0.1302, allocations: 469.2 kB / 369.1 MB, free: 2.016 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004834/0.1306, allocations: 204.7 kB / 369.3 MB, free: 1.812 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.1307, allocations: 4 kB / 369.3 MB, free: 1.809 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.1307, allocations: 46.56 kB / 369.4 MB, free: 1.754 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 3.366e-06/0.1308, allocations: 0 / 369.4 MB, free: 1.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001854/0.1326, allocations: 0.7815 MB / 370.2 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002465/0.1329, allocations: 449 kB / 370.6 MB, free: 388 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1467/0.2796, allocations: 473.6 kB / 371.1 MB, free: 20.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.2798, allocations: 36.23 kB / 371.1 MB, free: 20.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.28, allocations: 242.4 kB / 371.3 MB, free: 20.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.2801, allocations: 129.3 kB / 371.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.2803, allocations: 84.09 kB / 371.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.2804, allocations: 361.6 kB / 371.9 MB, free: 19.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.2809, allocations: 155.6 kB / 372 MB, free: 19.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/0.2814, allocations: 299.2 kB / 372.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008661/0.2823, allocations: 382.4 kB / 372.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2823, allocations: 0 / 372.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001196/0.2835, allocations: 0.5123 MB / 373.2 MB, free: 19.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.2836, allocations: 31.78 kB / 373.3 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.2836, allocations: 2.016 kB / 373.3 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.2838, allocations: 54.86 kB / 373.3 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/0.2843, allocations: 87.92 kB / 373.4 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.2861, allocations: 2.746 MB / 376.1 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000486/0.2866, allocations: 71.67 kB / 376.2 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.2866, allocations: 10.47 kB / 376.2 MB, free: 16.77 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.0002109/0.2868, allocations: 177.1 kB / 376.4 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.541e-05/0.287, allocations: 55.75 kB / 376.4 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.2871, allocations: 56.67 kB / 376.5 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.2871, allocations: 7.219 kB / 376.5 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2871, allocations: 0 / 376.5 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/0.2881, allocations: 0.764 MB / 377.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.2899, allocations: 1.068 MB / 378.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2899, allocations: 1.984 kB / 378.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004809/0.2904, allocations: 102.1 kB / 378.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2904, allocations: 1.375 kB / 378.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.2904, allocations: 10.62 kB / 378.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.2904, allocations: 1.375 kB / 378.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2904, allocations: 5.312 kB / 378.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.2918, allocations: 0.7145 MB / 379.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.292, allocations: 165.1 kB / 379.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.269e-05/0.292, allocations: 19.81 kB / 379.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.2925, allocations: 36.91 kB / 379.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/0.2925, allocations: 25.39 kB / 379.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.2926, allocations: 11.2 kB / 379.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003454/0.2929, allocations: 343.2 kB / 379.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2929, allocations: 0 / 379.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004833/0.2934, allocations: 143.2 kB / 379.9 MB, free: 14.59 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.0001072/0.2935, allocations: 109.7 kB / 380 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.2948, allocations: 0.6686 MB / 380.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.2948, allocations: 8.25 kB / 380.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004433/0.2952, allocations: 190.2 kB / 380.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007413/0.296, allocations: 136.4 kB / 381 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.2975, allocations: 1.138 MB / 382.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.2978, allocations: 0.8361 MB / 383 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000276/0.2981, allocations: 65 kB / 383 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.2982, allocations: 47.28 kB / 383.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2982, allocations: 0 / 383.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of Templates: time 0.01522/0.3134, allocations: 8.373 MB / 391.5 MB, free: 9.984 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches