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.0008863/0.0008864, allocations: 96.31 kB / 17.3 MB, free: 6.023 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.001298/0.001298, allocations: 171.6 kB / 18.2 MB, free: 5.418 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.518/1.518, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004411/0.0004412, allocations: 12 kB / 281.4 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08582/0.08628, allocations: 47.58 MB / 329 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00354/0.08986, allocations: 3.392 MB / 332.3 MB, free: 364 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.09148, allocations: 0.9671 MB / 333.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.09167, allocations: 11.94 kB / 333.3 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.09195, allocations: 79.44 kB / 333.4 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.09231, allocations: 182.6 kB / 333.6 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.09255, allocations: 119.8 kB / 333.7 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006039/0.09317, allocations: 0.673 MB / 334.4 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002753/0.09345, allocations: 183.5 kB / 334.6 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.0937, allocations: 239 kB / 334.8 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.094, allocations: 282.8 kB / 335.1 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.614e-05/0.09408, allocations: 36 kB / 335.1 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.511e-05/0.09416, allocations: 36 kB / 335.1 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.82e-05/0.09425, allocations: 111.4 kB / 335.2 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.09451, allocations: 312.3 kB / 335.5 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005402/0.09506, allocations: 0.6771 MB / 336.2 MB, free: 12.45 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.09507, allocations: 3.938 kB / 336.2 MB, free: 12.45 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.09508, allocations: 0 / 336.2 MB, free: 12.45 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.09509, allocations: 0 / 336.2 MB, free: 12.45 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.001334/0.09643, allocations: 0.8276 MB / 337.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.09648, allocations: 8.031 kB / 337.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.09661, allocations: 68.19 kB / 337.1 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006865/0.09731, allocations: 446.8 kB / 337.6 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002277/0.09755, allocations: 91.2 kB / 337.7 MB, free: 10.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.463e-05/0.09762, allocations: 32.38 kB / 337.7 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.09863, allocations: 0.5255 MB / 338.2 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.09866, allocations: 0 / 338.2 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.586e-05/0.09871, allocations: 16 kB / 338.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.09873, allocations: 8 kB / 338.2 MB, free: 10.28 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009708/0.09971, allocations: 407.7 kB / 338.6 MB, free: 9.883 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.002124/0.1018, allocations: 1.351 MB / 340 MB, free: 8.438 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.1029, allocations: 496.2 kB / 340.5 MB, free: 7.926 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/0.1034, allocations: 220.7 kB / 340.7 MB, free: 7.707 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.361e-05/0.1034, allocations: 7.984 kB / 340.7 MB, free: 7.699 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.1035, allocations: 42.5 kB / 340.7 MB, free: 7.648 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 2.174e-06/0.1035, allocations: 0 / 340.7 MB, free: 7.648 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.002052/0.1055, allocations: 0.8049 MB / 341.5 MB, free: 6.793 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002761/0.1058, allocations: 448.9 kB / 342 MB, free: 6.25 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006195/0.1064, allocations: 485.9 kB / 342.4 MB, free: 5.762 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/0.1065, allocations: 33.7 kB / 342.5 MB, free: 5.723 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.1067, allocations: 244.4 kB / 342.7 MB, free: 5.48 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.1069, allocations: 122.2 kB / 342.8 MB, free: 5.359 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/0.1069, allocations: 37.64 kB / 342.9 MB, free: 5.316 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1071, allocations: 362.8 kB / 343.2 MB, free: 4.953 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004465/0.1076, allocations: 171.8 kB / 343.4 MB, free: 4.785 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005714/0.1081, allocations: 314.2 kB / 343.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009287/0.1091, allocations: 399 kB / 344.1 MB, free: 4.023 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1091, allocations: 0 / 344.1 MB, free: 4.023 MB / 286.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001125/0.1102, allocations: 0.5387 MB / 344.6 MB, free: 3.465 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.1103, allocations: 29.7 kB / 344.7 MB, free: 3.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1103, allocations: 7.938 kB / 344.7 MB, free: 3.422 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.1105, allocations: 49.7 kB / 344.7 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/0.1109, allocations: 99.86 kB / 344.8 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.1134, allocations: 2.736 MB / 347.6 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005458/0.114, allocations: 83.53 kB / 347.6 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.114, allocations: 12 kB / 347.6 MB, free: 180 kB / 286.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.0002644/0.1143, allocations: 173.8 kB / 347.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.774e-05/0.1144, allocations: 55.38 kB / 347.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.1145, allocations: 56.94 kB / 347.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1145, allocations: 4 kB / 347.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1145, allocations: 0 / 347.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001094/0.1156, allocations: 0.7902 MB / 348.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.1174, allocations: 1.094 MB / 349.8 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1174, allocations: 4 kB / 349.8 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005138/0.1179, allocations: 103.9 kB / 349.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.118, allocations: 0 / 349.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.118, allocations: 15.92 kB / 349.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.118, allocations: 4 kB / 349.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.118, allocations: 0 / 349.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.1195, allocations: 0.7414 MB / 350.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.1197, allocations: 176.3 kB / 350.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.092e-05/0.1198, allocations: 8 kB / 350.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004229/0.1202, allocations: 48.03 kB / 350.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.715e-05/0.1203, allocations: 27.89 kB / 350.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.1204, allocations: 8 kB / 350.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004015/0.1208, allocations: 338.9 kB / 351.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.1208, allocations: 4 kB / 351.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000476/0.1213, allocations: 139.8 kB / 351.4 MB, free: 12.2 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.0001172/0.1214, allocations: 103.2 kB / 351.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.1227, allocations: 0.6993 MB / 352.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1227, allocations: 0 / 352.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004595/0.1232, allocations: 215.6 kB / 352.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007124/0.1239, allocations: 142 kB / 352.6 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.1255, allocations: 1.2 MB / 353.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.1258, allocations: 0.8315 MB / 354.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002656/0.1261, allocations: 68.52 kB / 354.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.1262, allocations: 43.44 kB / 354.7 MB, free: 8.805 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1262, allocations: 4 kB / 354.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of Templates: time 0.01399/0.1402, allocations: 8.305 MB / 363 MB, free: 0.4922 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches