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.0009267/0.0009267, allocations: 80.75 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.0009263/0.0009263, allocations: 181 kB / 23.36 MB, free: 1.133 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.9481/0.9481, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.06164/0.06164, allocations: 13.11 MB / 273.4 MB, free: 212 kB / 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.174e-06/2.174e-06, allocations: 1.75 kB / 294.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064e-05/1.281e-05, allocations: 2.312 kB / 294.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001317/0.00133, allocations: 0.6941 MB / 295.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001983/0.001528, allocations: 59.53 kB / 295.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.001558, allocations: 0.625 kB / 295.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.355e-05/0.001581, allocations: 1.766 kB / 295.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.986e-05/0.001661, allocations: 7.406 kB / 295.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.001814, allocations: 24.19 kB / 295.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.001915, allocations: 26.45 kB / 295.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.056e-05/0.001986, allocations: 4.562 kB / 295.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.541e-05/0.002031, allocations: 16.91 kB / 295.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.875e-05/0.00208, allocations: 12.56 kB / 295.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.002098, allocations: 2.375 kB / 295.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.704e-06/0.002106, allocations: 2.406 kB / 295.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.002121, allocations: 9.344 kB / 295.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.662e-05/0.002138, allocations: 6.688 kB / 295.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.423e-05/0.002202, allocations: 20.36 kB / 295.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002204, allocations: 0 / 295.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.002205, allocations: 3.938 kB / 295.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.002208, allocations: 0 / 295.3 MB, free: 11.45 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.0002135/0.002422, allocations: 230.2 kB / 295.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.002452, allocations: 8.719 kB / 295.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.267e-05/0.002474, allocations: 6.391 kB / 295.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.587e-05/0.00255, allocations: 112 kB / 295.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-06/0.002557, allocations: 1.375 kB / 295.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.002567, allocations: 3.203 kB / 295.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.002689, allocations: 112.9 kB / 295.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.002695, allocations: 192 / 295.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.002701, allocations: 1.375 kB / 295.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.002706, allocations: 5.375 kB / 295.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.295e-05/0.002729, allocations: 11.17 kB / 295.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.002886, allocations: 157.5 kB / 295.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.631e-05/0.002942, allocations: 48.31 kB / 296 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/0.00296, allocations: 18.78 kB / 296 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.002973, allocations: 4 kB / 296 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.002988, allocations: 38.5 kB / 296 MB, free: 10.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.002989, allocations: 0 / 296 MB, free: 10.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.000102/0.003091, allocations: 45.62 kB / 296.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.003115, allocations: 111.6 kB / 296.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.186e-05/0.003147, allocations: 100.3 kB / 296.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.75e-06/0.003153, allocations: 25.7 kB / 296.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.546e-05/0.003168, allocations: 87.22 kB / 296.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.003182, allocations: 13.5 kB / 296.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.003203, allocations: 18.5 kB / 296.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.679e-05/0.00323, allocations: 313.2 kB / 296.7 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/0.003243, allocations: 8.922 kB / 296.7 MB, free: 9.969 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/0.003264, allocations: 52.67 kB / 296.8 MB, free: 9.914 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.444e-05/0.003288, allocations: 19.55 kB / 296.8 MB, free: 9.898 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.00329, allocations: 1.938 kB / 296.8 MB, free: 9.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.194e-05/0.003332, allocations: 51.78 kB / 296.9 MB, free: 9.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.003341, allocations: 4.188 kB / 296.9 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.003345, allocations: 1 kB / 296.9 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.003355, allocations: 1.375 kB / 296.9 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.18e-05/0.003406, allocations: 15.81 kB / 296.9 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-06/0.003409, allocations: 3.281 kB / 296.9 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.156e-05/0.003431, allocations: 10.48 kB / 296.9 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.003436, allocations: 5.656 kB / 296.9 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 1.818e-05/0.003454, allocations: 83.17 kB / 297 MB, free: 9.762 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.574e-05/0.00347, allocations: 53.64 kB / 297 MB, free: 9.699 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.401e-05/0.003484, allocations: 18.67 kB / 297.1 MB, free: 9.684 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.4e-07/0.003484, allocations: 1.125 kB / 297.1 MB, free: 9.684 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 3.108e-05/0.003515, allocations: 42.16 kB / 297.1 MB, free: 9.648 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.11e-06/0.00352, allocations: 5.391 kB / 297.1 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.82e-07/0.003521, allocations: 1.375 kB / 297.1 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-06/0.003522, allocations: 4.609 kB / 297.1 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-05/0.003538, allocations: 9.625 kB / 297.1 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.42e-07/0.003539, allocations: 3.938 kB / 297.1 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.42e-05/0.003554, allocations: 5.453 kB / 297.1 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-06/0.003555, allocations: 5.562 kB / 297.1 MB, free: 9.637 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 3.004e-05/0.003585, allocations: 178.2 kB / 297.3 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.003598, allocations: 3.375 kB / 297.3 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.546e-05/0.003614, allocations: 9.203 kB / 297.3 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.003616, allocations: 1.578 kB / 297.3 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.003618, allocations: 7.938 kB / 297.3 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.003621, allocations: 2.297 kB / 297.3 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.73e-05/0.003689, allocations: 65.72 kB / 297.4 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.003689, allocations: 3.938 kB / 297.4 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/0.003708, allocations: 9.016 kB / 297.4 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-07/0.003708, allocations: 0 / 297.4 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-06/0.003712, allocations: 2.016 kB / 297.4 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.003713, allocations: 1.406 kB / 297.4 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.003714, allocations: 0 / 297.4 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.134e-05/0.003765, allocations: 146.1 kB / 297.6 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-06/0.003772, allocations: 7.297 kB / 297.6 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-06/0.00378, allocations: 3.078 kB / 297.6 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.216e-05/0.003812, allocations: 8.953 kB / 297.6 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.003842, allocations: 11.95 kB / 297.6 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-06/0.003844, allocations: 5.125 kB / 297.6 MB, free: 9.203 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.898e-06/0.003854, allocations: 9.891 kB / 297.6 MB, free: 9.195 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003854, allocations: 0 / 297.6 MB, free: 9.195 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001212/0.003975, allocations: 6.219 kB / 297.6 MB, free: 9.195 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 5.234e-05/0.004028, allocations: 79.03 kB / 297.7 MB, free: 9.125 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.619e-05/0.004094, allocations: 35.06 kB / 297.7 MB, free: 9.102 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.004096, allocations: 1.188 kB / 297.7 MB, free: 9.102 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.488e-05/0.004111, allocations: 11.81 kB / 297.7 MB, free: 9.094 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.428e-05/0.004206, allocations: 4.438 kB / 297.7 MB, free: 9.094 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001645/0.00437, allocations: 116 kB / 297.8 MB, free: 8.977 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.233e-05/0.004392, allocations: 63.7 kB / 297.9 MB, free: 8.898 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.269e-05/0.004415, allocations: 6.75 kB / 297.9 MB, free: 8.895 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.00446, allocations: 58.06 kB / 298 MB, free: 8.848 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.004461, allocations: 1.156 kB / 298 MB, free: 8.848 MB / 266.7 MB Notification: Performance of Templates: time 0.002051/0.006512, allocations: 0.7267 MB / 298.7 MB, free: 8.77 MB / 266.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=240 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_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.7354177511297166]