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.001119/0.001119, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.0009712/0.0009712, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.8303/0.8303, allocations: 158.6 MB / 186 MB, free: 2.801 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.03924/0.03924, allocations: 10.65 MB / 249 MB, free: 4.289 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 2.174e-06/2.174e-06, allocations: 0.5625 kB / 318.2 MB, free: 41.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522e-05/1.739e-05, allocations: 3.078 kB / 318.3 MB, free: 41.71 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001312/0.00133, allocations: 0.716 MB / 319 MB, free: 41.01 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001983/0.001528, allocations: 51.81 kB / 319 MB, free: 40.96 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.001563, allocations: 0 / 319 MB, free: 40.96 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.001587, allocations: 0 / 319 MB, free: 40.96 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.803e-05/0.001665, allocations: 3.938 kB / 319 MB, free: 40.95 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001245/0.00179, allocations: 27.97 kB / 319 MB, free: 40.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.611e-05/0.001876, allocations: 23.92 kB / 319.1 MB, free: 40.9 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.229e-05/0.001948, allocations: 4 kB / 319.1 MB, free: 40.9 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.163e-05/0.00199, allocations: 15.98 kB / 319.1 MB, free: 40.88 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.561e-05/0.002035, allocations: 11.92 kB / 319.1 MB, free: 40.87 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.002052, allocations: 4 kB / 319.1 MB, free: 40.87 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.313e-06/0.002059, allocations: 0 / 319.1 MB, free: 40.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.002076, allocations: 7.984 kB / 319.1 MB, free: 40.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.7e-05/0.002093, allocations: 15.31 kB / 319.1 MB, free: 40.85 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.537e-05/0.002158, allocations: 23.84 kB / 319.2 MB, free: 40.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00216, allocations: 0 / 319.2 MB, free: 40.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.002161, allocations: 4 kB / 319.2 MB, free: 40.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.002164, allocations: 0 / 319.2 MB, free: 40.82 MB / 282.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.0002377/0.002402, allocations: 354.8 kB / 319.5 MB, free: 40.44 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.002432, allocations: 8.031 kB / 319.5 MB, free: 40.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.00246, allocations: 9.234 kB / 319.5 MB, free: 40.42 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.122e-05/0.002542, allocations: 112.6 kB / 319.6 MB, free: 40.29 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-06/0.00255, allocations: 4.375 kB / 319.6 MB, free: 40.28 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-06/0.002558, allocations: 384 / 319.6 MB, free: 40.28 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.002679, allocations: 115.6 kB / 319.7 MB, free: 40.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.00269, allocations: 8.188 kB / 319.8 MB, free: 40.13 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.002698, allocations: 384 / 319.8 MB, free: 40.13 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.002705, allocations: 384 / 319.8 MB, free: 40.13 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.966e-05/0.002734, allocations: 11.92 kB / 319.8 MB, free: 40.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.002964, allocations: 240.2 kB / 320 MB, free: 39.86 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.408e-05/0.003048, allocations: 66.09 kB / 320.1 MB, free: 39.77 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/0.003074, allocations: 27.48 kB / 320.1 MB, free: 39.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.003089, allocations: 7.984 kB / 320.1 MB, free: 39.72 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.003107, allocations: 41.38 kB / 320.1 MB, free: 39.67 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.003109, allocations: 3.938 kB / 320.1 MB, free: 39.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001457/0.003254, allocations: 49.64 kB / 320.2 MB, free: 39.61 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.003286, allocations: 106.8 kB / 320.3 MB, free: 39.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.011e-05/0.003336, allocations: 157.9 kB / 320.5 MB, free: 39.31 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.116e-06/0.003344, allocations: 25.7 kB / 320.5 MB, free: 39.28 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.356e-05/0.003367, allocations: 134.8 kB / 320.6 MB, free: 39.14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.003385, allocations: 3.953 kB / 320.6 MB, free: 39.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.003417, allocations: 31.59 kB / 320.6 MB, free: 39.1 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.902e-05/0.003457, allocations: 0.4883 MB / 321.1 MB, free: 38.6 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.003475, allocations: 11.69 kB / 321.1 MB, free: 38.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-05/0.003502, allocations: 52.77 kB / 321.2 MB, free: 38.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.112e-05/0.003533, allocations: 27.36 kB / 321.2 MB, free: 38.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.003534, allocations: 3.938 kB / 321.2 MB, free: 38.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.711e-05/0.003602, allocations: 41.7 kB / 321.3 MB, free: 38.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.003613, allocations: 8 kB / 321.3 MB, free: 38.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.003619, allocations: 5.156 kB / 321.3 MB, free: 38.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.003632, allocations: 3.938 kB / 321.3 MB, free: 38.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/0.003695, allocations: 11.98 kB / 321.3 MB, free: 38.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.003699, allocations: 3.938 kB / 321.3 MB, free: 38.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.003729, allocations: 4 kB / 321.3 MB, free: 38.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-06/0.003733, allocations: 0 / 321.3 MB, free: 38.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 2.645e-05/0.00376, allocations: 134.9 kB / 321.4 MB, free: 38.26 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.974e-05/0.00378, allocations: 56.75 kB / 321.5 MB, free: 38.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.922e-05/0.003799, allocations: 27.41 kB / 321.5 MB, free: 38.15 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.81e-07/0.003799, allocations: 0 / 321.5 MB, free: 38.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 4.876e-05/0.003848, allocations: 49.58 kB / 321.6 MB, free: 38.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.039e-06/0.003853, allocations: 6.188 kB / 321.6 MB, free: 38.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.22e-07/0.003854, allocations: 4 kB / 321.6 MB, free: 38.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-06/0.003855, allocations: 0 / 321.6 MB, free: 38.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.784e-05/0.003873, allocations: 7.812 kB / 321.6 MB, free: 38.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-06/0.003874, allocations: 3.938 kB / 321.6 MB, free: 38.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.003897, allocations: 15.92 kB / 321.6 MB, free: 38.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-06/0.003899, allocations: 4.062 kB / 321.6 MB, free: 38.06 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 4.325e-05/0.003942, allocations: 268.1 kB / 321.9 MB, free: 37.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.003963, allocations: 7.938 kB / 321.9 MB, free: 37.78 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.004e-05/0.003983, allocations: 7.312 kB / 321.9 MB, free: 37.78 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.003986, allocations: 3.938 kB / 321.9 MB, free: 37.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.003988, allocations: 0 / 321.9 MB, free: 37.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.003991, allocations: 0 / 321.9 MB, free: 37.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.752e-05/0.004089, allocations: 101.2 kB / 322 MB, free: 37.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.00409, allocations: 0 / 322 MB, free: 37.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.004114, allocations: 4 kB / 322 MB, free: 37.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.004116, allocations: 8 kB / 322 MB, free: 37.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-06/0.004121, allocations: 3.938 kB / 322 MB, free: 37.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.004122, allocations: 0 / 322 MB, free: 37.63 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.004123, allocations: 0 / 322 MB, free: 37.63 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.739e-05/0.0042, allocations: 207.5 kB / 322.2 MB, free: 37.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.004208, allocations: 3.953 kB / 322.2 MB, free: 37.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.004217, allocations: 3.984 kB / 322.2 MB, free: 37.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.206e-05/0.004269, allocations: 4 kB / 322.2 MB, free: 37.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.004303, allocations: 16.34 kB / 322.2 MB, free: 37.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.004305, allocations: 0 / 322.2 MB, free: 37.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.773e-05/0.004323, allocations: 135.2 kB / 322.4 MB, free: 37.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004323, allocations: 0 / 322.4 MB, free: 37.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.004572, allocations: 8 kB / 322.4 MB, free: 37.24 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 5.743e-05/0.004629, allocations: 91.25 kB / 322.5 MB, free: 37.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.442e-05/0.004724, allocations: 39.3 kB / 322.5 MB, free: 37.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.004725, allocations: 0 / 322.5 MB, free: 37.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.928e-05/0.004744, allocations: 15.69 kB / 322.5 MB, free: 37.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.004942, allocations: 4.375 kB / 322.5 MB, free: 37.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002166/0.005159, allocations: 133.9 kB / 322.6 MB, free: 36.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.118e-05/0.00519, allocations: 55.36 kB / 322.7 MB, free: 36.83 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.1e-05/0.005221, allocations: 4 kB / 322.7 MB, free: 36.83 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.005271, allocations: 82.19 kB / 322.8 MB, free: 36.75 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.005272, allocations: 0 / 322.8 MB, free: 36.75 MB / 282.7 MB Notification: Performance of Templates: time 0.002228/0.0075, allocations: 0.7716 MB / 323.6 MB, free: 35.99 MB / 282.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.7912556850351393]