Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 110.2 kB / 18.25 MB, free: 4.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 195.3 kB / 19.18 MB, free: 3.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.1 MB / 225 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 51.92 kB / 281.3 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08833/0.0898, allocations: 46.63 MB / 327.9 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005388/0.09523, allocations: 3.741 MB / 331.7 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.09765, allocations: 1.033 MB / 332.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002724/0.09794, allocations: 11.94 kB / 332.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004/0.0984, allocations: 107 kB / 332.8 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004233/0.09884, allocations: 202.3 kB / 333 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.09913, allocations: 135.8 kB / 333.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006823/0.09982, allocations: 0.6964 MB / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.1002, allocations: 214.7 kB / 334.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.1004, allocations: 267 kB / 334.3 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003183/0.1007, allocations: 302.8 kB / 334.6 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.604e-05/0.1008, allocations: 60 kB / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1009, allocations: 60 kB / 334.7 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.1011, allocations: 139.4 kB / 334.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002784/0.1014, allocations: 318.5 kB / 335.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000623/0.102, allocations: 0.7008 MB / 335.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.102, allocations: 0 / 335.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.102, allocations: 0 / 335.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.102, allocations: 0 / 335.9 MB, free: 12.46 MB / 286.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.001556/0.1036, allocations: 0.9131 MB / 336.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1036, allocations: 11.97 kB / 336.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.1038, allocations: 68.19 kB / 336.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006554/0.1044, allocations: 442.8 kB / 337.3 MB, free: 10.94 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.1047, allocations: 87.2 kB / 337.4 MB, free: 10.85 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.484e-05/0.1048, allocations: 40.31 kB / 337.4 MB, free: 10.81 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009204/0.1057, allocations: 0.5138 MB / 338 MB, free: 10.24 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1057, allocations: 0 / 338 MB, free: 10.24 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.1058, allocations: 12 kB / 338 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.1058, allocations: 8 kB / 338 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009569/0.1067, allocations: 383.7 kB / 338.3 MB, free: 9.848 MB / 286.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.002147/0.1089, allocations: 1.363 MB / 339.7 MB, free: 8.391 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009509/0.1099, allocations: 467.6 kB / 340.2 MB, free: 7.906 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.1103, allocations: 208.7 kB / 340.4 MB, free: 7.699 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.1104, allocations: 4.656 kB / 340.4 MB, free: 7.695 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.1104, allocations: 38.56 kB / 340.4 MB, free: 7.648 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 1.833e-06/0.1104, allocations: 7.938 kB / 340.4 MB, free: 7.641 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.001798/0.1122, allocations: 0.7736 MB / 341.2 MB, free: 6.816 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002014/0.1124, allocations: 453 kB / 341.6 MB, free: 6.27 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005225/0.113, allocations: 478 kB / 342.1 MB, free: 5.793 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.113, allocations: 37.7 kB / 342.1 MB, free: 5.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.1132, allocations: 248.3 kB / 342.4 MB, free: 5.504 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.1133, allocations: 126.1 kB / 342.5 MB, free: 5.379 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.1135, allocations: 81.64 kB / 342.6 MB, free: 5.293 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1137, allocations: 358.8 kB / 342.9 MB, free: 4.934 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/0.1141, allocations: 159.9 kB / 343.1 MB, free: 4.777 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005553/0.1147, allocations: 307.4 kB / 343.4 MB, free: 4.426 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008767/0.1155, allocations: 379 kB / 343.8 MB, free: 4.043 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1156, allocations: 0 / 343.8 MB, free: 4.043 MB / 286.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001127/0.1167, allocations: 0.5152 MB / 344.3 MB, free: 3.508 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.1167, allocations: 29.7 kB / 344.3 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1168, allocations: 0 / 344.3 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001718/0.1169, allocations: 57.62 kB / 344.4 MB, free: 3.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.1174, allocations: 99.86 kB / 344.5 MB, free: 3.312 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/0.1199, allocations: 2.961 MB / 347.4 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.1204, allocations: 67.53 kB / 347.5 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/0.1205, allocations: 12.05 kB / 347.5 MB, free: 15.99 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.0002349/0.1207, allocations: 169.8 kB / 347.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.201e-05/0.1208, allocations: 51.44 kB / 347.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.1209, allocations: 56.88 kB / 347.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1209, allocations: 4 kB / 347.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1209, allocations: 7.938 kB / 347.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0011/0.122, allocations: 0.7707 MB / 348.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.1239, allocations: 1.059 MB / 349.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.124, allocations: 3.938 kB / 349.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/0.1244, allocations: 99.86 kB / 349.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1245, allocations: 4 kB / 349.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.1245, allocations: 8 kB / 349.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.1245, allocations: 4 kB / 349.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1245, allocations: 3.984 kB / 349.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.126, allocations: 0.7062 MB / 350.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.1262, allocations: 180.2 kB / 350.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-05/0.1263, allocations: 8 kB / 350.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.1267, allocations: 35.95 kB / 350.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.1268, allocations: 23.97 kB / 350.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.1269, allocations: 8.25 kB / 350.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003813/0.1272, allocations: 342.9 kB / 351 MB, free: 12.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1272, allocations: 0 / 351 MB, free: 12.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005069/0.1278, allocations: 143.8 kB / 351.2 MB, free: 12.12 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.0001339/0.1279, allocations: 111.2 kB / 351.3 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.1294, allocations: 0.6953 MB / 352 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1294, allocations: 4.062 kB / 352 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004765/0.1299, allocations: 199.5 kB / 352.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007692/0.1306, allocations: 157.7 kB / 352.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.1325, allocations: 0.9986 MB / 353.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.133, allocations: 0.8353 MB / 354.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.1331, allocations: 47.44 kB / 354.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1331, allocations: 0 / 354.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of Templates: time 0.01369/0.1468, allocations: 9.141 MB / 363.3 MB, free: 15.82 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches