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.00108/0.00108, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001132/0.001132, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.354/1.354, allocations: 205.1 MB / 225.1 MB, free: 12.26 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.001237/0.001237, allocations: 47.94 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0799/0.08115, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004668/0.08585, allocations: 3.747 MB / 332.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.08736, allocations: 1.029 MB / 333.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.08753, allocations: 7.938 kB / 333.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.08783, allocations: 111.1 kB / 333.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.0882, allocations: 202.3 kB / 333.8 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.08847, allocations: 135.8 kB / 333.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006482/0.08913, allocations: 0.7041 MB / 334.6 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002951/0.08943, allocations: 218.7 kB / 334.9 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.08971, allocations: 263 kB / 335.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004591/0.09018, allocations: 306.7 kB / 335.4 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.09032, allocations: 64 kB / 335.5 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.09048, allocations: 60 kB / 335.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.09064, allocations: 127.5 kB / 335.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004137/0.09107, allocations: 326.4 kB / 336 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008955/0.09197, allocations: 0.7124 MB / 336.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.09199, allocations: 0 / 336.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.092, allocations: 0 / 336.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.09202, allocations: 0 / 336.7 MB, free: 11.73 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.002103/0.09413, allocations: 0.9131 MB / 337.6 MB, free: 10.76 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.09418, allocations: 8.031 kB / 337.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.09436, allocations: 68.19 kB / 337.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.09538, allocations: 450.7 kB / 338.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.09553, allocations: 63.25 kB / 338.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.108e-05/0.09564, allocations: 36.38 kB / 338.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.09691, allocations: 0.4944 MB / 338.7 MB, free: 9.555 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.09694, allocations: 0 / 338.7 MB, free: 9.555 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.438e-05/0.09702, allocations: 16 kB / 338.7 MB, free: 9.539 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.09704, allocations: 15.94 kB / 338.7 MB, free: 9.523 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.09834, allocations: 351.8 kB / 339.1 MB, free: 9.18 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.003001/0.1014, allocations: 1.351 MB / 340.4 MB, free: 7.734 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.1027, allocations: 455.9 kB / 340.9 MB, free: 7.262 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006453/0.1034, allocations: 200.8 kB / 341.1 MB, free: 7.062 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.567e-05/0.1034, allocations: 8 kB / 341.1 MB, free: 7.055 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.1035, allocations: 43.06 kB / 341.1 MB, free: 7.004 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 2.374e-06/0.1035, allocations: 0 / 341.1 MB, free: 7.004 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.002455/0.106, allocations: 0.7393 MB / 341.9 MB, free: 6.215 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002381/0.1062, allocations: 448.9 kB / 342.3 MB, free: 5.672 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008154/0.107, allocations: 478 kB / 342.8 MB, free: 5.195 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.805e-05/0.1071, allocations: 37.7 kB / 342.8 MB, free: 5.152 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.1074, allocations: 244.4 kB / 343 MB, free: 4.91 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.1075, allocations: 134.1 kB / 343.2 MB, free: 4.777 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.1078, allocations: 81.64 kB / 343.3 MB, free: 4.691 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.108, allocations: 354.8 kB / 343.6 MB, free: 4.336 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005479/0.1085, allocations: 143.9 kB / 343.7 MB, free: 4.195 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007579/0.1093, allocations: 294.4 kB / 344 MB, free: 3.855 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.1105, allocations: 343.1 kB / 344.4 MB, free: 3.508 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1105, allocations: 0 / 344.4 MB, free: 3.508 MB / 286.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00159/0.1121, allocations: 0.4918 MB / 344.9 MB, free: 2.996 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.1122, allocations: 33.7 kB / 344.9 MB, free: 2.957 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1122, allocations: 0 / 344.9 MB, free: 2.957 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002348/0.1124, allocations: 57.62 kB / 344.9 MB, free: 2.895 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.1131, allocations: 79.94 kB / 345 MB, free: 2.816 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003631/0.1167, allocations: 2.957 MB / 348 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/0.1174, allocations: 63.61 kB / 348 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.1175, allocations: 15.98 kB / 348.1 MB, free: 15.5 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.0003645/0.1179, allocations: 169.8 kB / 348.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.118, allocations: 51.44 kB / 348.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.1182, allocations: 52.94 kB / 348.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.1182, allocations: 7.984 kB / 348.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.1182, allocations: 11.94 kB / 348.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00145/0.1197, allocations: 0.7425 MB / 349.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/0.1223, allocations: 1.037 MB / 350.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.1223, allocations: 3.938 kB / 350.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006897/0.123, allocations: 91.88 kB / 350.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.123, allocations: 0 / 350.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/0.123, allocations: 8 kB / 350.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1231, allocations: 0 / 350.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1231, allocations: 0 / 350.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.1252, allocations: 0.6761 MB / 350.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/0.1256, allocations: 184.3 kB / 351.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.1257, allocations: 8 kB / 351.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005889/0.1263, allocations: 27.97 kB / 351.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.1264, allocations: 23.97 kB / 351.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.101e-05/0.1265, allocations: 11.98 kB / 351.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000624/0.1271, allocations: 338.9 kB / 351.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1271, allocations: 3.938 kB / 351.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007824/0.1279, allocations: 139.8 kB / 351.6 MB, free: 11.72 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.0001975/0.1281, allocations: 111.2 kB / 351.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001799/0.1299, allocations: 0.6642 MB / 352.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.13, allocations: 4.062 kB / 352.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006026/0.1306, allocations: 183.8 kB / 352.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.1316, allocations: 141.9 kB / 352.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.134, allocations: 0.9538 MB / 353.7 MB, free: 9.594 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005861/0.1346, allocations: 0.8275 MB / 354.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003986/0.135, allocations: 68.53 kB / 354.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.1352, allocations: 39.44 kB / 354.6 MB, free: 8.633 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1352, allocations: 0 / 354.6 MB, free: 8.633 MB / 302.1 MB Notification: Performance of Templates: time 0.02157/0.1568, allocations: 8.994 MB / 363.6 MB, free: 15.64 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 -s cvode -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