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.001049/0.001049, allocations: 80.94 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.00198/0.00198, allocations: 177 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.9528/0.9528, allocations: 158.6 MB / 185.2 MB, free: 2.766 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.04951/0.04951, 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.452e-06/1.452e-06, allocations: 0 / 268.5 MB, free: 100 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.288e-05, allocations: 2.312 kB / 268.5 MB, free: 96 kB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001777/0.0018, allocations: 0.7574 MB / 269.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002699/0.00207, allocations: 59.8 kB / 269.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.002109, allocations: 4 kB / 269.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.00214, allocations: 3.938 kB / 269.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.002249, allocations: 0 / 269.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.002409, allocations: 15.92 kB / 269.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.871e-05/0.002507, allocations: 31.92 kB / 269.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.433e-05/0.002582, allocations: 4 kB / 269.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.688e-05/0.002629, allocations: 19.92 kB / 269.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.00268, allocations: 7.984 kB / 269.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.002697, allocations: 4 kB / 269.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.002705, allocations: 4 kB / 269.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.002722, allocations: 7.984 kB / 269.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.002742, allocations: 7.922 kB / 269.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.311e-05/0.002816, allocations: 15.98 kB / 269.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.002818, allocations: 0 / 269.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.002819, allocations: 4 kB / 269.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.002824, allocations: 4 kB / 269.4 MB, free: 15.14 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.0002639/0.003088, allocations: 228.9 kB / 269.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.003122, allocations: 12.03 kB / 269.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/0.003146, allocations: 0.9375 kB / 269.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.003284, allocations: 117.7 kB / 269.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.003294, allocations: 4.375 kB / 269.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.022e-06/0.0033, allocations: 384 / 269.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.003446, allocations: 99.22 kB / 269.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.003452, allocations: 192 / 269.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.003461, allocations: 8.375 kB / 269.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.003466, allocations: 4.375 kB / 269.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.354e-05/0.00349, allocations: 11.88 kB / 269.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.003686, allocations: 161.2 kB / 270 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.96e-05/0.003745, allocations: 49.16 kB / 270.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/0.003767, allocations: 21.81 kB / 270.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.003779, allocations: 0 / 270.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.003799, allocations: 42.5 kB / 270.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.0038, allocations: 0 / 270.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001037/0.003904, allocations: 45.62 kB / 270.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.003944, allocations: 106.8 kB / 270.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.975e-05/0.003994, allocations: 106.7 kB / 270.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.004004, allocations: 29.7 kB / 270.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.004033, allocations: 84.12 kB / 270.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.004049, allocations: 11.89 kB / 270.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.004074, allocations: 13.72 kB / 270.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.00415, allocations: 315.1 kB / 270.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.004166, allocations: 8.859 kB / 270.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.364e-05/0.004199, allocations: 60.2 kB / 270.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.097e-05/0.00423, allocations: 21.7 kB / 270.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.004233, allocations: 4 kB / 270.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.454e-05/0.004288, allocations: 45.62 kB / 271 MB, free: 13.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.004298, allocations: 4 kB / 271 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.004303, allocations: 96 / 271 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.004313, allocations: 4 kB / 271 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/0.004376, allocations: 15.92 kB / 271 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.004378, allocations: 0 / 271 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.0044, allocations: 4 kB / 271 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.004406, allocations: 4 kB / 271 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.187e-05/0.004438, allocations: 80.14 kB / 271.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.036e-05/0.004468, allocations: 48.27 kB / 271.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.034e-05/0.004488, allocations: 25.66 kB / 271.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.9e-07/0.004489, allocations: 4.031 kB / 271.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 4.319e-05/0.004532, allocations: 41.62 kB / 271.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.072e-06/0.004538, allocations: 8 kB / 271.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-06/0.004539, allocations: 0 / 271.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-06/0.004541, allocations: 0 / 271.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.735e-05/0.004558, allocations: 7.984 kB / 271.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.004561, allocations: 7.938 kB / 271.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.473e-05/0.004575, allocations: 4 kB / 271.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-06/0.004577, allocations: 0 / 271.2 MB, free: 13.05 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.743e-05/0.004644, allocations: 184.3 kB / 271.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.004661, allocations: 4 kB / 271.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.198e-05/0.004683, allocations: 15.23 kB / 271.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.004685, allocations: 0 / 271.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.004688, allocations: 7.938 kB / 271.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.004691, allocations: 0 / 271.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.666e-05/0.004777, allocations: 65.89 kB / 271.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.00478, allocations: 4 kB / 271.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.437e-05/0.004804, allocations: 7.984 kB / 271.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.004805, allocations: 0 / 271.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.004811, allocations: 8 kB / 271.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.004812, allocations: 0 / 271.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.004814, allocations: 3.938 kB / 271.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.21e-05/0.004906, allocations: 144.3 kB / 271.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.004916, allocations: 7.953 kB / 271.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.184e-06/0.004923, allocations: 0 / 271.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.58e-05/0.004959, allocations: 7.984 kB / 271.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.00499, allocations: 0 / 271.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.004994, allocations: 11.94 kB / 271.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.267e-05/0.005007, allocations: 12.84 kB / 271.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005007, allocations: 4 kB / 271.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001327/0.005139, allocations: 8 kB / 271.7 MB, free: 12.52 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 8.151e-05/0.005221, allocations: 76.36 kB / 271.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.005323, allocations: 30.27 kB / 271.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.005326, allocations: 0 / 271.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.178e-05/0.005348, allocations: 20.8 kB / 271.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.005465, allocations: 4.375 kB / 271.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002173/0.005683, allocations: 117.7 kB / 272 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.006006, allocations: 59.28 kB / 272 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.972e-05/0.006036, allocations: 8 kB / 272 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.006088, allocations: 51.38 kB / 272.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of SimCode: time 1.813e-06/0.00609, allocations: 0 / 272.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of Templates: time 0.002203/0.008293, allocations: 0.7269 MB / 272.8 MB, free: 11.36 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 -s gbode -gbm=radauIIA3 -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.63282548263669]