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.001037/0.001037, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.000932/0.000932, allocations: 173 kB / 23.49 MB, free: 1.055 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.8502/0.8502, allocations: 158.6 MB / 185.3 MB, free: 2.93 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.04072/0.04072, allocations: 10.65 MB / 248.2 MB, free: 4.527 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.763e-06/1.763e-06, allocations: 0 / 317 MB, free: 42.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.404e-05, allocations: 3.406 kB / 317 MB, free: 42.26 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001177/0.001191, allocations: 0.7019 MB / 317.7 MB, free: 41.65 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002069/0.001398, allocations: 59.8 kB / 317.8 MB, free: 41.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/0.001432, allocations: 0 / 317.8 MB, free: 41.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.001458, allocations: 3.938 kB / 317.8 MB, free: 41.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.621e-05/0.001544, allocations: 0 / 317.8 MB, free: 41.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.001672, allocations: 19.92 kB / 317.8 MB, free: 41.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.604e-05/0.001768, allocations: 27.92 kB / 317.8 MB, free: 41.54 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.304e-05/0.001851, allocations: 11.98 kB / 317.9 MB, free: 41.53 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.079e-05/0.001892, allocations: 15.97 kB / 317.9 MB, free: 41.51 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.101e-05/0.001943, allocations: 15.92 kB / 317.9 MB, free: 41.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.001971, allocations: 4 kB / 317.9 MB, free: 41.49 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-06/0.001978, allocations: 0 / 317.9 MB, free: 41.49 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.001995, allocations: 7.984 kB / 317.9 MB, free: 41.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.002021, allocations: 7.375 kB / 317.9 MB, free: 41.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.175e-05/0.002103, allocations: 23.86 kB / 317.9 MB, free: 41.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.002105, allocations: 0 / 317.9 MB, free: 41.46 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.002105, allocations: 4 kB / 317.9 MB, free: 41.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.002109, allocations: 0 / 317.9 MB, free: 41.45 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.0003252/0.002434, allocations: 354.8 kB / 318.3 MB, free: 41.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.002471, allocations: 8.031 kB / 318.3 MB, free: 41.06 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.002511, allocations: 9.234 kB / 318.3 MB, free: 41.05 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.002631, allocations: 120.5 kB / 318.4 MB, free: 40.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.002641, allocations: 384 / 318.4 MB, free: 40.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.002649, allocations: 384 / 318.4 MB, free: 40.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.002799, allocations: 115.7 kB / 318.5 MB, free: 40.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.002806, allocations: 192 / 318.5 MB, free: 40.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.002815, allocations: 4.375 kB / 318.5 MB, free: 40.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.002824, allocations: 384 / 318.5 MB, free: 40.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.477e-05/0.002859, allocations: 15.86 kB / 318.6 MB, free: 40.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.003089, allocations: 267.5 kB / 318.8 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.165e-05/0.003151, allocations: 66.12 kB / 318.9 MB, free: 40.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.573e-05/0.003176, allocations: 23.42 kB / 318.9 MB, free: 40.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.003192, allocations: 4 kB / 318.9 MB, free: 40.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.003211, allocations: 41.39 kB / 318.9 MB, free: 40.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.003212, allocations: 0 / 318.9 MB, free: 40.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.000142/0.003354, allocations: 57.56 kB / 319 MB, free: 40.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.003384, allocations: 102.8 kB / 319.1 MB, free: 40.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.661e-05/0.00343, allocations: 153.9 kB / 319.3 MB, free: 39.92 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.904e-06/0.003438, allocations: 29.7 kB / 319.3 MB, free: 39.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.906e-05/0.003467, allocations: 134.8 kB / 319.4 MB, free: 39.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.003484, allocations: 7.938 kB / 319.4 MB, free: 39.74 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.003506, allocations: 19.38 kB / 319.4 MB, free: 39.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.05e-05/0.003547, allocations: 0.4886 MB / 319.9 MB, free: 39.21 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/0.003565, allocations: 11.69 kB / 319.9 MB, free: 39.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.00359, allocations: 64.69 kB / 320 MB, free: 39.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.899e-05/0.003619, allocations: 27.38 kB / 320 MB, free: 39.08 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.003621, allocations: 0 / 320 MB, free: 39.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.084e-05/0.003682, allocations: 49.62 kB / 320.1 MB, free: 39.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.003693, allocations: 11.94 kB / 320.1 MB, free: 39.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.003697, allocations: 5.984 kB / 320.1 MB, free: 39.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.003709, allocations: 4 kB / 320.1 MB, free: 39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.1e-05/0.00377, allocations: 8 kB / 320.1 MB, free: 39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.003776, allocations: 0 / 320.1 MB, free: 39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.003799, allocations: 7.984 kB / 320.1 MB, free: 38.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.003803, allocations: 0 / 320.1 MB, free: 38.99 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 2.465e-05/0.003828, allocations: 134.9 kB / 320.2 MB, free: 38.85 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.666e-05/0.003845, allocations: 52.77 kB / 320.3 MB, free: 38.78 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.74e-05/0.003862, allocations: 31.33 kB / 320.3 MB, free: 38.74 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.7e-07/0.003862, allocations: 4 kB / 320.3 MB, free: 38.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 3.289e-05/0.003895, allocations: 45.97 kB / 320.4 MB, free: 38.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.239e-06/0.0039, allocations: 10.19 kB / 320.4 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.72e-07/0.003901, allocations: 0 / 320.4 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-06/0.003903, allocations: 3.938 kB / 320.4 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.228e-05/0.003915, allocations: 4 kB / 320.4 MB, free: 38.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-06/0.003917, allocations: 3.984 kB / 320.4 MB, free: 38.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.003932, allocations: 11.94 kB / 320.4 MB, free: 38.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-06/0.003934, allocations: 4 kB / 320.4 MB, free: 38.65 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.335e-05/0.003977, allocations: 268.1 kB / 320.7 MB, free: 38.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.00399, allocations: 7.984 kB / 320.7 MB, free: 38.38 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.004012, allocations: 15.25 kB / 320.7 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.004013, allocations: 0 / 320.7 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.004017, allocations: 4 kB / 320.7 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.004021, allocations: 3.984 kB / 320.7 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.024e-05/0.004092, allocations: 112.6 kB / 320.8 MB, free: 38.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.004092, allocations: 0 / 320.8 MB, free: 38.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.89e-05/0.004111, allocations: 11.98 kB / 320.8 MB, free: 38.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.004112, allocations: 0 / 320.8 MB, free: 38.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.004119, allocations: 4 kB / 320.8 MB, free: 38.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.00412, allocations: 7.875 kB / 320.8 MB, free: 38.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.004121, allocations: 4 kB / 320.8 MB, free: 38.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.482e-05/0.004186, allocations: 195.6 kB / 321 MB, free: 37.97 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-06/0.004193, allocations: 7.953 kB / 321 MB, free: 37.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.004203, allocations: 0 / 321 MB, free: 37.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.386e-05/0.004237, allocations: 15.86 kB / 321.1 MB, free: 37.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.004272, allocations: 4 kB / 321.1 MB, free: 37.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.004275, allocations: 4 kB / 321.1 MB, free: 37.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.493e-05/0.004289, allocations: 119.2 kB / 321.2 MB, free: 37.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004289, allocations: 4 kB / 321.2 MB, free: 37.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001633/0.004453, allocations: 8 kB / 321.2 MB, free: 37.81 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.331e-05/0.004506, allocations: 99.17 kB / 321.3 MB, free: 37.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.004611, allocations: 39.36 kB / 321.3 MB, free: 37.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.004612, allocations: 3.938 kB / 321.3 MB, free: 37.65 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.864e-05/0.004631, allocations: 19.69 kB / 321.4 MB, free: 37.63 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.004784, allocations: 4.375 kB / 321.4 MB, free: 37.62 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002059/0.00499, allocations: 130 kB / 321.5 MB, free: 37.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.424e-05/0.005014, allocations: 55.34 kB / 321.5 MB, free: 37.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.607e-05/0.00504, allocations: 8 kB / 321.5 MB, free: 37.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.005066, allocations: 8.5 kB / 321.6 MB, free: 37.38 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.005067, allocations: 0 / 321.6 MB, free: 37.38 MB / 282.7 MB Notification: Performance of Templates: time 0.002356/0.007423, allocations: 0.7053 MB / 322.3 MB, free: 36.68 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.7364223247859627]