Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDeadBand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009844/0.0009844, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009377/0.0009377, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9641/0.9641, allocations: 158.6 MB / 185.2 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05452/0.05452, allocations: 10.66 MB / 248.2 MB, free: 4.355 MB / 234.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 268.4 MB, free: 152 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.797e-05, allocations: 2.312 kB / 268.4 MB, free: 148 kB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001451/0.001469, allocations: 0.7104 MB / 269.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002655/0.001734, allocations: 63.73 kB / 269.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.64e-05/0.00177, allocations: 0 / 269.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.0018, allocations: 0 / 269.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.001901, allocations: 7.938 kB / 269.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.00205, allocations: 15.97 kB / 269.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.002165, allocations: 27.92 kB / 269.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.505e-05/0.00226, allocations: 8 kB / 269.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.95e-05/0.002319, allocations: 11.98 kB / 269.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.846e-05/0.002388, allocations: 15.92 kB / 269.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.002415, allocations: 4 kB / 269.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.002425, allocations: 4 kB / 269.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.00245, allocations: 7.984 kB / 269.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.00247, allocations: 0 / 269.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.74e-05/0.002568, allocations: 23.91 kB / 269.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.002571, allocations: 3.938 kB / 269.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002571, allocations: 0 / 269.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.002575, allocations: 0 / 269.3 MB, free: 15.24 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000341/0.002916, allocations: 232.9 kB / 269.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.002963, allocations: 12.03 kB / 269.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.002999, allocations: 8.922 kB / 269.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.003129, allocations: 105.8 kB / 269.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-06/0.003138, allocations: 384 / 269.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.00315, allocations: 4.375 kB / 269.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.003318, allocations: 107.2 kB / 269.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.003324, allocations: 192 / 269.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.003334, allocations: 8.312 kB / 269.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.00334, allocations: 384 / 269.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.791e-05/0.003368, allocations: 19.92 kB / 269.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.003569, allocations: 153.2 kB / 269.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.31e-05/0.003632, allocations: 49.12 kB / 270 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.003654, allocations: 21.84 kB / 270 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.003668, allocations: 0 / 270 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.003694, allocations: 34.56 kB / 270.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.003695, allocations: 0 / 270.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001143/0.003809, allocations: 49.62 kB / 270.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.00386, allocations: 110.8 kB / 270.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.331e-05/0.003913, allocations: 102.7 kB / 270.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.003928, allocations: 29.64 kB / 270.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.00396, allocations: 88.12 kB / 270.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.003981, allocations: 7.906 kB / 270.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.004006, allocations: 17.7 kB / 270.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.906e-05/0.004085, allocations: 310.8 kB / 270.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.004101, allocations: 12.86 kB / 270.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.362e-05/0.004135, allocations: 56.52 kB / 270.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.896e-05/0.004164, allocations: 17.72 kB / 270.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.004166, allocations: 0 / 270.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.393e-05/0.00422, allocations: 45.62 kB / 270.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.004232, allocations: 4 kB / 270.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.004237, allocations: 0 / 270.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.004251, allocations: 3.938 kB / 270.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.842e-05/0.004309, allocations: 16.02 kB / 270.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.004313, allocations: 4 kB / 270.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/0.004333, allocations: 4 kB / 270.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.004339, allocations: 4 kB / 270.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.26e-05/0.004372, allocations: 88.12 kB / 271 MB, free: 13.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.826e-05/0.0044, allocations: 52.2 kB / 271.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.69e-05/0.004417, allocations: 21.72 kB / 271.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.963e-06/0.004419, allocations: 3.984 kB / 271.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 3.314e-05/0.004452, allocations: 41.67 kB / 271.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.58e-06/0.004458, allocations: 8 kB / 271.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.22e-07/0.004458, allocations: 0 / 271.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.91e-07/0.004459, allocations: 0 / 271.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.386e-05/0.004473, allocations: 7.984 kB / 271.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.004475, allocations: 3.938 kB / 271.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.333e-05/0.004489, allocations: 4 kB / 271.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-06/0.00449, allocations: 0 / 271.1 MB, free: 13.15 MB / 266.7 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 (3): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 6.81e-05/0.004558, allocations: 184.2 kB / 271.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.004572, allocations: 12.05 kB / 271.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.004592, allocations: 7.688 kB / 271.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.004594, allocations: 0 / 271.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.004597, allocations: 3.938 kB / 271.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.004601, allocations: 4 kB / 271.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.383e-05/0.004685, allocations: 69.83 kB / 271.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.004685, allocations: 0 / 271.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.004703, allocations: 11.98 kB / 271.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-07/0.004704, allocations: 0 / 271.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.017e-06/0.004708, allocations: 0 / 271.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.004709, allocations: 0 / 271.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.00471, allocations: 8 kB / 271.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.563e-05/0.004785, allocations: 144.3 kB / 271.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-06/0.004793, allocations: 7.938 kB / 271.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.004804, allocations: 7.984 kB / 271.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.988e-05/0.004834, allocations: 4 kB / 271.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.00487, allocations: 7.922 kB / 271.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.004873, allocations: 7.938 kB / 271.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.191e-05/0.004885, allocations: 12.8 kB / 271.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004885, allocations: 0 / 271.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001189/0.005004, allocations: 8 kB / 271.6 MB, free: 12.61 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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 7.541e-05/0.005079, allocations: 76.42 kB / 271.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.947e-05/0.005159, allocations: 33.64 kB / 271.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.005162, allocations: 4 kB / 271.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.518e-05/0.005177, allocations: 8.859 kB / 271.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/0.005283, allocations: 8 kB / 271.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/0.005495, allocations: 110.1 kB / 271.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.794e-05/0.005533, allocations: 67.22 kB / 271.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.359e-05/0.005556, allocations: 0 / 271.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.005608, allocations: 59.38 kB / 272 MB, free: 12.18 MB / 266.7 MB Notification: Performance of SimCode: time 3.4e-07/0.005608, allocations: 0 / 272 MB, free: 12.18 MB / 266.7 MB Notification: Performance of Templates: time 0.002287/0.007895, allocations: 0.7311 MB / 272.7 MB, free: 11.45 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8016133387573063]