Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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.0.0_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.001215/0.001215, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001144/0.001144, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 64.33 kB / 301.3 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1104, allocations: 49.43 MB / 350.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.006298/0.1167, allocations: 3.74 MB / 354.5 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.119, allocations: 0.9968 MB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005046/0.1195, allocations: 11.88 kB / 355.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000507/0.1201, allocations: 111 kB / 355.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00089/0.121, allocations: 202.3 kB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.1214, allocations: 135.8 kB / 355.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008425/0.1223, allocations: 0.708 MB / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003297/0.1226, allocations: 211 kB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.1229, allocations: 259 kB / 357.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003434/0.1233, allocations: 310.6 kB / 357.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.877e-05/0.1234, allocations: 56 kB / 357.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1235, allocations: 64 kB / 357.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.1236, allocations: 131.6 kB / 357.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002914/0.1239, allocations: 318.5 kB / 357.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007039/0.1246, allocations: 0.7124 MB / 358.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.1246, allocations: 0 / 358.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1246, allocations: 0 / 358.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.1247, allocations: 0 / 358.6 MB, free: 12.46 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.001604/0.1263, allocations: 0.9209 MB / 359.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1263, allocations: 8.031 kB / 359.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.1265, allocations: 72.19 kB / 359.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006617/0.1271, allocations: 434.8 kB / 360.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.1273, allocations: 83.22 kB / 360.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.179e-05/0.1274, allocations: 36.28 kB / 360.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009285/0.1284, allocations: 0.5177 MB / 360.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.1284, allocations: 0 / 360.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.818e-05/0.1284, allocations: 19.98 kB / 360.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.1285, allocations: 8 kB / 360.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009491/0.1294, allocations: 375.7 kB / 361.1 MB, free: 9.844 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.002148/0.1316, allocations: 1.359 MB / 362.5 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009683/0.1325, allocations: 472.6 kB / 362.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004886/0.133, allocations: 208.1 kB / 363.1 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.1331, allocations: 4 kB / 363.1 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.1331, allocations: 42.55 kB / 363.2 MB, free: 7.645 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.255e-06/0.1331, allocations: 0 / 363.2 MB, free: 7.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001833/0.135, allocations: 0.7857 MB / 364 MB, free: 6.809 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002069/0.1352, allocations: 448.9 kB / 364.4 MB, free: 6.266 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005489/0.1358, allocations: 478 kB / 364.9 MB, free: 5.785 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.1358, allocations: 29.7 kB / 364.9 MB, free: 5.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.136, allocations: 248.5 kB / 365.1 MB, free: 5.504 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.1361, allocations: 134 kB / 365.3 MB, free: 5.371 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.1363, allocations: 77.69 kB / 365.3 MB, free: 5.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1364, allocations: 358.8 kB / 365.7 MB, free: 4.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004413/0.1369, allocations: 163.8 kB / 365.9 MB, free: 4.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/0.1375, allocations: 306.4 kB / 366.2 MB, free: 4.418 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008781/0.1383, allocations: 378.7 kB / 366.5 MB, free: 4.035 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.1384, allocations: 0 / 366.5 MB, free: 4.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00121/0.1396, allocations: 0.523 MB / 367 MB, free: 3.492 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.1396, allocations: 29.7 kB / 367.1 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.1396, allocations: 0 / 367.1 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/0.1398, allocations: 53.69 kB / 367.1 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.1403, allocations: 87.88 kB / 367.2 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00253/0.1428, allocations: 2.968 MB / 370.2 MB, free: 64 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005375/0.1434, allocations: 63.69 kB / 370.2 MB, free: 0 / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1747/0.3181, allocations: 5.766 kB / 370.2 MB, free: 25.32 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.0002967/0.3185, allocations: 174.6 kB / 370.4 MB, free: 25.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.3186, allocations: 53.19 kB / 370.5 MB, free: 25.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.3187, allocations: 56.91 kB / 370.5 MB, free: 25.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3187, allocations: 3.969 kB / 370.5 MB, free: 25.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3188, allocations: 5.219 kB / 370.5 MB, free: 25.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001074/0.3198, allocations: 0.7594 MB / 371.3 MB, free: 24.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.3216, allocations: 1.073 MB / 372.4 MB, free: 24.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3216, allocations: 0 / 372.4 MB, free: 24.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/0.3221, allocations: 97.59 kB / 372.5 MB, free: 24.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.3222, allocations: 1.844 kB / 372.5 MB, free: 24.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.3222, allocations: 8.688 kB / 372.5 MB, free: 24.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3222, allocations: 1.5 kB / 372.5 MB, free: 24.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3222, allocations: 1.562 kB / 372.5 MB, free: 24.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.3236, allocations: 0.7173 MB / 373.2 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.3238, allocations: 173.5 kB / 373.4 MB, free: 24.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.346e-05/0.3239, allocations: 12.06 kB / 373.4 MB, free: 24.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.3243, allocations: 35.95 kB / 373.4 MB, free: 24.08 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.3244, allocations: 23.83 kB / 373.4 MB, free: 24.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.3244, allocations: 9.906 kB / 373.4 MB, free: 24.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003788/0.3248, allocations: 339.4 kB / 373.8 MB, free: 23.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3248, allocations: 0 / 373.8 MB, free: 23.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004863/0.3253, allocations: 140 kB / 373.9 MB, free: 23.97 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.0001058/0.3254, allocations: 116.9 kB / 374 MB, free: 23.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.3267, allocations: 0.7045 MB / 374.7 MB, free: 23.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3267, allocations: 5.531 kB / 374.7 MB, free: 23.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004458/0.3272, allocations: 192.9 kB / 374.9 MB, free: 23.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006981/0.3279, allocations: 150.2 kB / 375.1 MB, free: 23.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.3294, allocations: 0.9826 MB / 376.1 MB, free: 22.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.3296, allocations: 0.8418 MB / 376.9 MB, free: 22.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.3298, allocations: 49.28 kB / 376.9 MB, free: 22.11 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3298, allocations: 1.344 kB / 376.9 MB, free: 22.11 MB / 302.1 MB Notification: Performance of Templates: time 0.01261/0.3424, allocations: 9.154 MB / 386.1 MB, free: 19.05 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches