Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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.001791/0.001791, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.002095/0.002095, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 177.1 MB / 203.1 MB, free: 5.281 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1077/0.1077, allocations: 12.71 MB / 272.3 MB, free: 0.6172 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_dev_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_dev_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 4 kB / 346 MB, free: 2.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.796e-05, allocations: 2.312 kB / 346 MB, free: 2.316 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001758/0.001786, allocations: 0.6805 MB / 346.6 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002491/0.002035, allocations: 55.75 kB / 346.7 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.572e-05/0.002071, allocations: 0 / 346.7 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.0021, allocations: 0 / 346.7 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.737e-05/0.002187, allocations: 15.88 kB / 346.7 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.002339, allocations: 15.97 kB / 346.7 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.004e-05/0.002429, allocations: 23.98 kB / 346.8 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.246e-05/0.002512, allocations: 11.98 kB / 346.8 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.623e-05/0.002558, allocations: 11.94 kB / 346.8 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.002609, allocations: 11.98 kB / 346.8 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.002629, allocations: 4 kB / 346.8 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-06/0.002637, allocations: 0 / 346.8 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.002652, allocations: 7.984 kB / 346.8 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.002686, allocations: 7.938 kB / 346.8 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.078e-05/0.002767, allocations: 27.89 kB / 346.8 MB, free: 1.449 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.00277, allocations: 0 / 346.8 MB, free: 1.449 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.002771, allocations: 4 kB / 346.8 MB, free: 1.445 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.002776, allocations: 4 kB / 346.8 MB, free: 1.441 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.0003284/0.003104, allocations: 250.4 kB / 347.1 MB, free: 1.164 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.003137, allocations: 8.031 kB / 347.1 MB, free: 1.156 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.003185, allocations: 8.891 kB / 347.1 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.003301, allocations: 117.7 kB / 347.2 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.003314, allocations: 384 / 347.2 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.003324, allocations: 384 / 347.2 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.003512, allocations: 102.4 kB / 347.3 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.003522, allocations: 8.188 kB / 347.3 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.003532, allocations: 4.375 kB / 347.3 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.003536, allocations: 384 / 347.3 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.003705, allocations: 39.84 kB / 347.4 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.003979, allocations: 205.5 kB / 347.6 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.004144, allocations: 69.17 kB / 347.6 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.326e-05/0.004237, allocations: 37.75 kB / 347.7 MB, free: 484 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.004262, allocations: 0 / 347.7 MB, free: 484 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.004285, allocations: 42.55 kB / 347.7 MB, free: 432 kB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.004286, allocations: 0 / 347.7 MB, free: 432 kB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003801/0.004666, allocations: 93.73 kB / 347.8 MB, free: 332 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.004698, allocations: 114.8 kB / 347.9 MB, free: 192 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.259e-05/0.004751, allocations: 93.86 kB / 348 MB, free: 88 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.00476, allocations: 25.7 kB / 348 MB, free: 56 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/0.004826, allocations: 88.12 kB / 348.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.004852, allocations: 11.91 kB / 348.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.004897, allocations: 17.72 kB / 348.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.005079, allocations: 310.8 kB / 348.5 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.00526, allocations: 28.83 kB / 348.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.005388, allocations: 60.27 kB / 348.5 MB, free: 15.51 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.005584, allocations: 49.69 kB / 348.6 MB, free: 15.46 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005586, allocations: 0 / 348.6 MB, free: 15.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002409/0.005827, allocations: 77.59 kB / 348.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.005845, allocations: 4.094 kB / 348.7 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.005852, allocations: 7.938 kB / 348.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.005871, allocations: 4 kB / 348.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.005977, allocations: 11.98 kB / 348.7 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.005982, allocations: 0 / 348.7 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.738e-05/0.00604, allocations: 4 kB / 348.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.006052, allocations: 11.92 kB / 348.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.792e-05/0.00615, allocations: 88.14 kB / 348.8 MB, free: 15.24 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.856e-05/0.006228, allocations: 52.27 kB / 348.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.748e-05/0.006316, allocations: 29.75 kB / 348.9 MB, free: 15.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.51e-07/0.006317, allocations: 0 / 348.9 MB, free: 15.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001575/0.006474, allocations: 61.56 kB / 348.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.006487, allocations: 8 kB / 348.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-06/0.006489, allocations: 0 / 348.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.749e-06/0.006494, allocations: 7.875 kB / 349 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.331e-05/0.006537, allocations: 4 kB / 349 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.006541, allocations: 8.062 kB / 349 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/0.006584, allocations: 3.984 kB / 349 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-06/0.006587, allocations: 4 kB / 349 MB, free: 15.04 MB / 282.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 0.0001278/0.006715, allocations: 176.3 kB / 349.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.006746, allocations: 8 kB / 349.2 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.006773, allocations: 15.14 kB / 349.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.006778, allocations: 4 kB / 349.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.006782, allocations: 0 / 349.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006785, allocations: 0 / 349.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.006955, allocations: 113.2 kB / 349.3 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006957, allocations: 4 kB / 349.3 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.868e-05/0.007025, allocations: 11.98 kB / 349.3 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.00703, allocations: 4 kB / 349.3 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.007037, allocations: 0 / 349.3 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.007041, allocations: 3.938 kB / 349.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.007042, allocations: 0 / 349.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005344/0.007577, allocations: 172.4 kB / 349.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.00759, allocations: 3.953 kB / 349.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.007603, allocations: 7.938 kB / 349.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.007699, allocations: 15.92 kB / 349.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.007748, allocations: 4 kB / 349.5 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.007752, allocations: 0 / 349.5 MB, free: 14.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.911e-05/0.007811, allocations: 83.69 kB / 349.6 MB, free: 14.37 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007811, allocations: 0 / 349.6 MB, free: 14.37 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002962/0.008107, allocations: 12 kB / 349.6 MB, free: 14.36 MB / 282.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 0.0001367/0.008244, allocations: 95.25 kB / 349.7 MB, free: 14.26 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003014/0.008545, allocations: 60.03 kB / 349.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.008547, allocations: 0 / 349.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.444e-05/0.008642, allocations: 19.98 kB / 349.8 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.008885, allocations: 9.562 kB / 349.8 MB, free: 14.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/0.009326, allocations: 141.7 kB / 349.9 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.391e-05/0.0094, allocations: 63.28 kB / 350 MB, free: 13.92 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.973e-05/0.00947, allocations: 7.859 kB / 350 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.009515, allocations: 20.48 kB / 350 MB, free: 13.89 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.009515, allocations: 0 / 350 MB, free: 13.89 MB / 282.7 MB Notification: Performance of Templates: time 0.003576/0.01309, allocations: 0.7039 MB / 350.7 MB, free: 13.2 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.455427511013113]