Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.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.001011/0.001011, allocations: 88.22 kB / 19.65 MB, free: 272 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.001056/0.001056, allocations: 173 kB / 23.02 MB, free: 1.543 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.011/1.011, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.04991/0.04991, allocations: 12.94 MB / 272.9 MB, free: 0.5 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.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 347 MB, free: 2.699 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.398e-05/3.619e-05, allocations: 6.25 kB / 347 MB, free: 2.691 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.002289/0.002325, allocations: 0.6916 MB / 347.7 MB, free: 2 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002962/0.002621, allocations: 51.81 kB / 347.7 MB, free: 1.949 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.002661, allocations: 4 kB / 347.7 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.002696, allocations: 3.938 kB / 347.7 MB, free: 1.941 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.859e-05/0.002795, allocations: 4 kB / 347.8 MB, free: 1.938 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.002977, allocations: 19.91 kB / 347.8 MB, free: 1.918 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.00309, allocations: 23.92 kB / 347.8 MB, free: 1.895 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.003194, allocations: 4 kB / 347.8 MB, free: 1.891 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.496e-05/0.003259, allocations: 19.92 kB / 347.8 MB, free: 1.871 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.829e-05/0.003317, allocations: 7.984 kB / 347.8 MB, free: 1.863 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.003336, allocations: 0 / 347.8 MB, free: 1.863 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.003347, allocations: 4 kB / 347.8 MB, free: 1.859 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.003365, allocations: 8 kB / 347.8 MB, free: 1.852 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.003392, allocations: 11.94 kB / 347.8 MB, free: 1.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 9.896e-05/0.003491, allocations: 19.91 kB / 347.9 MB, free: 1.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.003497, allocations: 0 / 347.9 MB, free: 1.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003498, allocations: 0 / 347.9 MB, free: 1.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.003502, allocations: 0 / 347.9 MB, free: 1.82 MB / 314.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.0004315/0.003934, allocations: 352.7 kB / 348.2 MB, free: 1.438 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.003984, allocations: 8.031 kB / 348.2 MB, free: 1.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.004036, allocations: 16.81 kB / 348.2 MB, free: 1.414 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.004208, allocations: 112.6 kB / 348.3 MB, free: 1.277 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.004232, allocations: 8.359 kB / 348.4 MB, free: 1.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.00425, allocations: 4.375 kB / 348.4 MB, free: 1.266 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.004479, allocations: 111.7 kB / 348.5 MB, free: 1.129 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.00449, allocations: 192 / 348.5 MB, free: 1.129 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.004501, allocations: 384 / 348.5 MB, free: 1.129 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.004509, allocations: 384 / 348.5 MB, free: 1.129 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.362e-05/0.004563, allocations: 19.86 kB / 348.5 MB, free: 1.109 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.004939, allocations: 255.5 kB / 348.7 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.005059, allocations: 74.09 kB / 348.8 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.005099, allocations: 19.5 kB / 348.8 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.005123, allocations: 7.984 kB / 348.8 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.005153, allocations: 37.39 kB / 348.9 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.005154, allocations: 3.938 kB / 348.9 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001958/0.00535, allocations: 57.53 kB / 348.9 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.005413, allocations: 110.8 kB / 349 MB, free: 452 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/0.005505, allocations: 153.9 kB / 349.2 MB, free: 280 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.00552, allocations: 29.95 kB / 349.2 MB, free: 244 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.005577, allocations: 130.9 kB / 349.4 MB, free: 108 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.005597, allocations: 3.953 kB / 349.4 MB, free: 104 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.005636, allocations: 23.36 kB / 349.4 MB, free: 72 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.005796, allocations: 0.4884 MB / 349.9 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.832e-05/0.005835, allocations: 15.62 kB / 349.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.854e-05/0.005883, allocations: 56.75 kB / 349.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.319e-05/0.005936, allocations: 27.38 kB / 350 MB, free: 15.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.005939, allocations: 0 / 350 MB, free: 15.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001071/0.006046, allocations: 53.67 kB / 350 MB, free: 15.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.006065, allocations: 4 kB / 350 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.006072, allocations: 3.938 kB / 350 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.006091, allocations: 0 / 350 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.995e-05/0.006191, allocations: 11.98 kB / 350 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.006197, allocations: 0 / 350 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.889e-05/0.006236, allocations: 4 kB / 350 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.006243, allocations: 0 / 350 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.522e-05/0.006318, allocations: 138.9 kB / 350.2 MB, free: 15.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.109e-05/0.006359, allocations: 56.83 kB / 350.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.095e-05/0.0064, allocations: 31.31 kB / 350.3 MB, free: 15.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.352e-06/0.006402, allocations: 0 / 350.3 MB, free: 15.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 8.862e-05/0.00649, allocations: 49.58 kB / 350.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.0065, allocations: 4 kB / 350.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/0.006502, allocations: 0 / 350.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.039e-06/0.006507, allocations: 3.938 kB / 350.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.006552, allocations: 16.09 kB / 350.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.006555, allocations: 0 / 350.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.074e-05/0.006596, allocations: 15.92 kB / 350.3 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-06/0.006599, allocations: 0 / 350.3 MB, free: 15.01 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 0.0001059/0.006705, allocations: 268.1 kB / 350.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.006736, allocations: 384 / 350.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.006776, allocations: 11.25 kB / 350.6 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.006783, allocations: 11.92 kB / 350.6 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.006787, allocations: 0 / 350.6 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.006791, allocations: 0 / 350.6 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.006955, allocations: 116.6 kB / 350.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.006958, allocations: 0 / 350.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.007015, allocations: 11.94 kB / 350.8 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.007019, allocations: 0 / 350.8 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.00703, allocations: 4 kB / 350.8 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.407e-06/0.007039, allocations: 11.92 kB / 350.8 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.007041, allocations: 0 / 350.8 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.007218, allocations: 199.6 kB / 351 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.007232, allocations: 4 kB / 351 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.007247, allocations: 0 / 351 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.347e-05/0.007321, allocations: 11.94 kB / 351 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.007367, allocations: 7.984 kB / 351 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.007372, allocations: 4 kB / 351 MB, free: 14.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.881e-05/0.007421, allocations: 123.2 kB / 351.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007421, allocations: 0 / 351.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003102/0.007731, allocations: 7.938 kB / 351.1 MB, free: 14.17 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 0.0001161/0.007847, allocations: 95.25 kB / 351.2 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00015/0.007997, allocations: 43.3 kB / 351.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.008, allocations: 4.25 kB / 351.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.018e-05/0.00803, allocations: 19.67 kB / 351.3 MB, free: 13.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.008305, allocations: 10.03 kB / 351.3 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.008645, allocations: 122 kB / 351.4 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.252e-05/0.008687, allocations: 55.36 kB / 351.5 MB, free: 13.76 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.597e-05/0.008723, allocations: 8.109 kB / 351.5 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.008761, allocations: 12.5 kB / 351.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of SimCode: time 9.91e-07/0.008762, allocations: 0 / 351.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of Templates: time 0.00379/0.01255, allocations: 0.6907 MB / 352.2 MB, free: 13.06 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_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: 3.0720750130712986]