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.001375/0.001375, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001321/0.001321, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9324/0.9324, allocations: 158.6 MB / 185.2 MB, free: 2.805 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.04679/0.04679, allocations: 10.65 MB / 248.2 MB, free: 4.285 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.263e-06/1.263e-06, allocations: 0 / 317.5 MB, free: 41.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.724e-05, allocations: 3.078 kB / 317.5 MB, free: 41.71 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001015/0.001033, allocations: 0.7039 MB / 318.2 MB, free: 41.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00017/0.001203, allocations: 59.8 kB / 318.2 MB, free: 40.96 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.001234, allocations: 4 kB / 318.2 MB, free: 40.96 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.001254, allocations: 0 / 318.2 MB, free: 40.96 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.001321, allocations: 3.938 kB / 318.2 MB, free: 40.95 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001027/0.001423, allocations: 11.98 kB / 318.3 MB, free: 40.94 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.536e-05/0.001489, allocations: 27.92 kB / 318.3 MB, free: 40.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.51e-05/0.001554, allocations: 11.97 kB / 318.3 MB, free: 40.9 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.001593, allocations: 12 kB / 318.3 MB, free: 40.89 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.37e-05/0.001637, allocations: 15.92 kB / 318.3 MB, free: 40.88 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.00165, allocations: 3.938 kB / 318.3 MB, free: 40.87 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-06/0.001657, allocations: 8 kB / 318.3 MB, free: 40.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.00167, allocations: 7.984 kB / 318.3 MB, free: 40.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.293e-05/0.001683, allocations: 3.375 kB / 318.3 MB, free: 40.86 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.503e-05/0.001738, allocations: 23.86 kB / 318.4 MB, free: 40.83 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.00174, allocations: 4 kB / 318.4 MB, free: 40.83 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.001741, allocations: 0 / 318.4 MB, free: 40.83 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.154e-06/0.001743, allocations: 0 / 318.4 MB, free: 40.83 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.0002061/0.001949, allocations: 354.7 kB / 318.7 MB, free: 40.45 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.001981, allocations: 12.03 kB / 318.7 MB, free: 40.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.085e-05/0.002001, allocations: 9.234 kB / 318.7 MB, free: 40.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.902e-05/0.00207, allocations: 108.6 kB / 318.8 MB, free: 40.29 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.964e-06/0.002078, allocations: 8.375 kB / 318.9 MB, free: 40.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-06/0.002084, allocations: 384 / 318.9 MB, free: 40.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.002188, allocations: 115.6 kB / 319 MB, free: 40.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.002193, allocations: 192 / 319 MB, free: 40.14 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-06/0.002199, allocations: 384 / 319 MB, free: 40.14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.002204, allocations: 8.359 kB / 319 MB, free: 40.14 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.957e-05/0.002224, allocations: 7.938 kB / 319 MB, free: 40.13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.002381, allocations: 248.2 kB / 319.2 MB, free: 39.86 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.781e-05/0.002429, allocations: 70.05 kB / 319.3 MB, free: 39.76 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.002444, allocations: 19.5 kB / 319.3 MB, free: 39.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.002461, allocations: 4 kB / 319.3 MB, free: 39.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.002478, allocations: 41.33 kB / 319.4 MB, free: 39.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.21e-07/0.002478, allocations: 0 / 319.4 MB, free: 39.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 9.994e-05/0.002578, allocations: 53.56 kB / 319.4 MB, free: 39.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.815e-05/0.002597, allocations: 102.8 kB / 319.5 MB, free: 39.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.072e-05/0.002627, allocations: 162.2 kB / 319.7 MB, free: 39.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.942e-06/0.002633, allocations: 33.7 kB / 319.7 MB, free: 39.28 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.877e-05/0.002652, allocations: 130.8 kB / 319.8 MB, free: 39.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.169e-05/0.002664, allocations: 11.94 kB / 319.8 MB, free: 39.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/0.002682, allocations: 23.31 kB / 319.9 MB, free: 39.11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.422e-05/0.002716, allocations: 496.1 kB / 320.3 MB, free: 38.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.002729, allocations: 11.69 kB / 320.4 MB, free: 38.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.908e-05/0.002748, allocations: 60.75 kB / 320.4 MB, free: 38.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.229e-05/0.00277, allocations: 27.31 kB / 320.4 MB, free: 38.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.002772, allocations: 4.031 kB / 320.4 MB, free: 38.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.087e-05/0.002813, allocations: 41.7 kB / 320.5 MB, free: 38.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.002822, allocations: 11.98 kB / 320.5 MB, free: 38.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.002825, allocations: 0 / 320.5 MB, free: 38.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.002836, allocations: 3.938 kB / 320.5 MB, free: 38.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.25e-05/0.002879, allocations: 11.94 kB / 320.5 MB, free: 38.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.002881, allocations: 0 / 320.5 MB, free: 38.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.098e-05/0.002902, allocations: 7.984 kB / 320.5 MB, free: 38.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.002906, allocations: 0 / 320.5 MB, free: 38.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 1.677e-05/0.002922, allocations: 130.9 kB / 320.7 MB, free: 38.26 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.213e-05/0.002934, allocations: 52.77 kB / 320.7 MB, free: 38.19 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.206e-05/0.002947, allocations: 23.38 kB / 320.7 MB, free: 38.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.9e-07/0.002947, allocations: 0 / 320.7 MB, free: 38.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 2.787e-05/0.002975, allocations: 53.58 kB / 320.8 MB, free: 38.1 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.128e-06/0.002979, allocations: 6.188 kB / 320.8 MB, free: 38.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-06/0.00298, allocations: 2.5 kB / 320.8 MB, free: 38.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-06/0.002981, allocations: 8.094 kB / 320.8 MB, free: 38.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.126e-05/0.002992, allocations: 4 kB / 320.8 MB, free: 38.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-06/0.002993, allocations: 3.938 kB / 320.8 MB, free: 38.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.397e-05/0.003007, allocations: 11.92 kB / 320.8 MB, free: 38.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-06/0.003008, allocations: 0 / 320.8 MB, free: 38.07 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 3.306e-05/0.003041, allocations: 276 kB / 321.1 MB, free: 37.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.003053, allocations: 0 / 321.1 MB, free: 37.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.003072, allocations: 7.312 kB / 321.1 MB, free: 37.79 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.003074, allocations: 3.938 kB / 321.1 MB, free: 37.79 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.003076, allocations: 0 / 321.1 MB, free: 37.79 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.003078, allocations: 4 kB / 321.1 MB, free: 37.78 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.438e-05/0.003143, allocations: 105.2 kB / 321.2 MB, free: 37.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.003144, allocations: 4 kB / 321.2 MB, free: 37.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.689e-05/0.00316, allocations: 4 kB / 321.2 MB, free: 37.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.72e-07/0.003161, allocations: 3.938 kB / 321.2 MB, free: 37.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-06/0.003165, allocations: 4 kB / 321.2 MB, free: 37.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.003167, allocations: 3.984 kB / 321.2 MB, free: 37.63 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.003167, allocations: 0 / 321.2 MB, free: 37.63 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.391e-05/0.003221, allocations: 203.5 kB / 321.4 MB, free: 37.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-06/0.003228, allocations: 7.953 kB / 321.4 MB, free: 37.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.141e-06/0.003234, allocations: 4.875 kB / 321.4 MB, free: 37.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.212e-05/0.003266, allocations: 4 kB / 321.4 MB, free: 37.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.003289, allocations: 11.92 kB / 321.4 MB, free: 37.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.003291, allocations: 0 / 321.4 MB, free: 37.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.308e-05/0.003304, allocations: 123.6 kB / 321.6 MB, free: 37.26 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003304, allocations: 4 kB / 321.6 MB, free: 37.26 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001572/0.003461, allocations: 4 kB / 321.6 MB, free: 37.25 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 4.536e-05/0.003507, allocations: 91.8 kB / 321.7 MB, free: 37.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.506e-05/0.003572, allocations: 43.3 kB / 321.7 MB, free: 37.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.003573, allocations: 0 / 321.7 MB, free: 37.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.44e-05/0.003587, allocations: 27.8 kB / 321.7 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.0001314/0.003719, allocations: 4 kB / 321.7 MB, free: 37.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001469/0.003865, allocations: 125.9 kB / 321.9 MB, free: 36.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.8e-05/0.003883, allocations: 55.36 kB / 321.9 MB, free: 36.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.202e-05/0.003905, allocations: 12.34 kB / 321.9 MB, free: 36.83 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.003941, allocations: 74.2 kB / 322 MB, free: 36.75 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.003942, allocations: 0 / 322 MB, free: 36.75 MB / 282.7 MB Notification: Performance of Templates: time 0.001724/0.005666, allocations: 0.7697 MB / 322.8 MB, free: 36 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.82695626700297]