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.0008938/0.0008938, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008446/0.0008446, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.9165/0.9165, allocations: 177.1 MB / 203.5 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] 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.04427/0.04427, allocations: 12.53 MB / 272.5 MB, free: 1.145 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 1.323e-06/1.323e-06, allocations: 0 / 403.6 MB, free: 9.164 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.17e-05, allocations: 2.281 kB / 403.6 MB, free: 9.16 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001173/0.001194, allocations: 0.6741 MB / 404.3 MB, free: 8.488 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002028/0.001397, allocations: 63.73 kB / 404.3 MB, free: 8.426 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.001429, allocations: 4 kB / 404.3 MB, free: 8.422 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.589e-05/0.001455, allocations: 0 / 404.3 MB, free: 8.422 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.477e-05/0.00153, allocations: 7.922 kB / 404.3 MB, free: 8.414 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.001672, allocations: 11.98 kB / 404.3 MB, free: 8.402 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.07e-05/0.001763, allocations: 35.86 kB / 404.4 MB, free: 8.367 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.145e-05/0.001854, allocations: 7.984 kB / 404.4 MB, free: 8.359 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.119e-05/0.001895, allocations: 15.92 kB / 404.4 MB, free: 8.344 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.978e-05/0.001945, allocations: 15.92 kB / 404.4 MB, free: 8.328 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.001967, allocations: 4 kB / 404.4 MB, free: 8.324 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.565e-06/0.001974, allocations: 4 kB / 404.4 MB, free: 8.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.001991, allocations: 4 kB / 404.4 MB, free: 8.316 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.791e-05/0.002009, allocations: 3.938 kB / 404.4 MB, free: 8.312 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 7.298e-05/0.002082, allocations: 19.97 kB / 404.4 MB, free: 8.293 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.002084, allocations: 4 kB / 404.5 MB, free: 8.289 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.002085, allocations: 0 / 404.5 MB, free: 8.289 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.002089, allocations: 4 kB / 404.5 MB, free: 8.285 MB / 330.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.000331/0.00242, allocations: 260.8 kB / 404.7 MB, free: 8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.002455, allocations: 8.031 kB / 404.7 MB, free: 7.992 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.002487, allocations: 8.891 kB / 404.7 MB, free: 7.984 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.002615, allocations: 113.7 kB / 404.8 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.002623, allocations: 384 / 404.8 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.002632, allocations: 384 / 404.8 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.002787, allocations: 102.4 kB / 404.9 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.002794, allocations: 192 / 404.9 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.002806, allocations: 12.38 kB / 405 MB, free: 7.715 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.00281, allocations: 384 / 405 MB, free: 7.715 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.84e-05/0.002898, allocations: 35.91 kB / 405 MB, free: 7.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002596/0.003158, allocations: 213.5 kB / 405.2 MB, free: 7.438 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.003261, allocations: 65.06 kB / 405.3 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.003314, allocations: 41.77 kB / 405.3 MB, free: 7.309 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.003332, allocations: 0 / 405.3 MB, free: 7.309 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.003354, allocations: 38.5 kB / 405.3 MB, free: 7.262 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 7.02e-07/0.003354, allocations: 4 kB / 405.3 MB, free: 7.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.000216/0.00357, allocations: 89.58 kB / 405.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.003615, allocations: 111 kB / 405.5 MB, free: 7.031 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.264e-05/0.003668, allocations: 101.8 kB / 405.6 MB, free: 6.922 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.003678, allocations: 29.7 kB / 405.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.003712, allocations: 88.09 kB / 405.8 MB, free: 6.797 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.003729, allocations: 3.953 kB / 405.8 MB, free: 6.793 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.003754, allocations: 13.72 kB / 405.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.003826, allocations: 318.8 kB / 406.1 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.782e-05/0.003874, allocations: 20.84 kB / 406.1 MB, free: 6.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.425e-05/0.003928, allocations: 64.27 kB / 406.2 MB, free: 6.352 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.246e-05/0.004011, allocations: 53.7 kB / 406.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.004013, allocations: 0 / 406.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001118/0.004125, allocations: 69.61 kB / 406.3 MB, free: 6.219 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.004136, allocations: 11.94 kB / 406.3 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.004141, allocations: 8 kB / 406.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.004153, allocations: 0 / 406.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.615e-05/0.004209, allocations: 11.98 kB / 406.3 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.004214, allocations: 0 / 406.3 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.004241, allocations: 15.98 kB / 406.3 MB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.004246, allocations: 3.938 kB / 406.3 MB, free: 6.168 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.349e-05/0.00429, allocations: 88.14 kB / 406.4 MB, free: 6.078 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.412e-05/0.004324, allocations: 56.27 kB / 406.5 MB, free: 6.008 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 3.863e-05/0.004362, allocations: 33.73 kB / 406.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-07/0.004363, allocations: 0 / 406.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 5.873e-05/0.004422, allocations: 57.58 kB / 406.6 MB, free: 5.906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.528e-06/0.004426, allocations: 6.344 kB / 406.6 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.51e-07/0.004427, allocations: 0 / 406.6 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-06/0.004429, allocations: 3.938 kB / 406.6 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.538e-05/0.004444, allocations: 8 kB / 406.6 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.52e-07/0.004445, allocations: 0 / 406.6 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.004463, allocations: 12.05 kB / 406.6 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-06/0.004464, allocations: 0 / 406.6 MB, free: 5.879 MB / 330.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.288e-05/0.004527, allocations: 184.9 kB / 406.8 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.004538, allocations: 0 / 406.8 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.72e-05/0.004555, allocations: 15.2 kB / 406.8 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.004558, allocations: 4 kB / 406.8 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.004562, allocations: 0 / 406.8 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.004564, allocations: 0 / 406.8 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.181e-05/0.004656, allocations: 113.2 kB / 406.9 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.004658, allocations: 4 kB / 406.9 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/0.004681, allocations: 11.98 kB / 406.9 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.004682, allocations: 4 kB / 406.9 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.004688, allocations: 0 / 406.9 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.00469, allocations: 3.938 kB / 406.9 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.004691, allocations: 0 / 406.9 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.004816, allocations: 168.4 kB / 407.1 MB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.001e-05/0.004826, allocations: 7.953 kB / 407.1 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.004836, allocations: 0 / 407.1 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.897e-05/0.004874, allocations: 15.92 kB / 407.1 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.004909, allocations: 11.92 kB / 407.1 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.004911, allocations: 0 / 407.1 MB, free: 5.289 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.83e-05/0.00494, allocations: 83.28 kB / 407.2 MB, free: 5.207 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00494, allocations: 0 / 407.2 MB, free: 5.207 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001735/0.005113, allocations: 8 kB / 407.2 MB, free: 5.199 MB / 330.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 6.345e-05/0.005177, allocations: 95.78 kB / 407.3 MB, free: 5.098 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.005327, allocations: 63.83 kB / 407.4 MB, free: 5.035 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.005328, allocations: 0 / 407.4 MB, free: 5.035 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-05/0.005371, allocations: 23.98 kB / 407.4 MB, free: 5.012 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.005517, allocations: 3.984 kB / 407.4 MB, free: 5.008 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005051/0.006022, allocations: 151.7 kB / 407.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.243e-05/0.006064, allocations: 67.3 kB / 407.6 MB, free: 4.738 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.006092, allocations: 13.05 kB / 407.6 MB, free: 4.727 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.006093, allocations: 0 / 407.6 MB, free: 4.727 MB / 330.7 MB Notification: Performance of Templates: time 0.001384/0.007477, allocations: 0.6599 MB / 408.3 MB, free: 4.066 MB / 330.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.383780715987086]