Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.0009797/0.0009797, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001003/0.001003, allocations: 169 kB / 24.06 MB, free: 456 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.8589/0.8589, 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.03959/0.03959, allocations: 10.66 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.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_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_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 318.2 MB, free: 41.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028e-05/1.141e-05, allocations: 2.312 kB / 318.2 MB, free: 41.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001037/0.001048, allocations: 0.7155 MB / 319 MB, free: 41.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001764/0.001225, allocations: 47.81 kB / 319 MB, free: 40.97 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.001258, allocations: 4 kB / 319 MB, free: 40.97 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.35e-05/0.001282, allocations: 0 / 319 MB, free: 40.97 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.779e-05/0.001359, allocations: 3.938 kB / 319 MB, free: 40.96 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.001474, allocations: 15.97 kB / 319 MB, free: 40.95 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.982e-05/0.001554, allocations: 27.92 kB / 319.1 MB, free: 40.92 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.173e-05/0.001626, allocations: 8 kB / 319.1 MB, free: 40.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.527e-05/0.001661, allocations: 11.98 kB / 319.1 MB, free: 40.9 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.919e-05/0.0017, allocations: 15.86 kB / 319.1 MB, free: 40.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.001714, allocations: 0 / 319.1 MB, free: 40.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.622e-06/0.001721, allocations: 4 kB / 319.1 MB, free: 40.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.001736, allocations: 4 kB / 319.1 MB, free: 40.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.602e-05/0.001752, allocations: 11.38 kB / 319.1 MB, free: 40.87 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.344e-05/0.001815, allocations: 19.84 kB / 319.1 MB, free: 40.85 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.001817, allocations: 4 kB / 319.1 MB, free: 40.85 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.001818, allocations: 0 / 319.1 MB, free: 40.85 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.001821, allocations: 4 kB / 319.1 MB, free: 40.84 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.0002433/0.002065, allocations: 350.8 kB / 319.5 MB, free: 40.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.002094, allocations: 12.03 kB / 319.5 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.002119, allocations: 5.234 kB / 319.5 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.107e-05/0.0022, allocations: 112.6 kB / 319.6 MB, free: 40.31 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.002214, allocations: 4.375 kB / 319.6 MB, free: 40.31 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-06/0.002221, allocations: 4.375 kB / 319.6 MB, free: 40.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.00233, allocations: 111.6 kB / 319.7 MB, free: 40.17 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.002336, allocations: 192 / 319.7 MB, free: 40.17 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.002342, allocations: 4.375 kB / 319.7 MB, free: 40.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.002348, allocations: 4.375 kB / 319.7 MB, free: 40.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.115e-05/0.002369, allocations: 11.92 kB / 319.8 MB, free: 40.15 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.002532, allocations: 248.1 kB / 320 MB, free: 39.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.046e-05/0.002582, allocations: 62.22 kB / 320.1 MB, free: 39.79 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.002599, allocations: 19.44 kB / 320.1 MB, free: 39.76 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.00261, allocations: 0 / 320.1 MB, free: 39.76 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.002624, allocations: 45.33 kB / 320.1 MB, free: 39.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.002625, allocations: 7.984 kB / 320.1 MB, free: 39.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001057/0.002731, allocations: 49.56 kB / 320.2 MB, free: 39.64 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.002754, allocations: 110.8 kB / 320.3 MB, free: 39.51 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.968e-05/0.002794, allocations: 161.9 kB / 320.4 MB, free: 39.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/0.002801, allocations: 25.7 kB / 320.5 MB, free: 39.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.00283, allocations: 130.8 kB / 320.6 MB, free: 39.17 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.002844, allocations: 7.953 kB / 320.6 MB, free: 39.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.002865, allocations: 19.31 kB / 320.6 MB, free: 39.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.82e-05/0.002903, allocations: 0.4964 MB / 321.1 MB, free: 38.63 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.328e-05/0.002917, allocations: 15.69 kB / 321.1 MB, free: 38.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.071e-05/0.002937, allocations: 52.77 kB / 321.2 MB, free: 38.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.101e-05/0.002958, allocations: 27.31 kB / 321.2 MB, free: 38.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.00296, allocations: 0 / 321.2 MB, free: 38.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.098e-05/0.003001, allocations: 45.69 kB / 321.3 MB, free: 38.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.003011, allocations: 4 kB / 321.3 MB, free: 38.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.003014, allocations: 0 / 321.3 MB, free: 38.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.003024, allocations: 12.03 kB / 321.3 MB, free: 38.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.003e-05/0.003074, allocations: 11.92 kB / 321.3 MB, free: 38.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.003078, allocations: 0 / 321.3 MB, free: 38.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.003098, allocations: 4 kB / 321.3 MB, free: 38.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.003102, allocations: 4 kB / 321.3 MB, free: 38.42 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 1.849e-05/0.003121, allocations: 126.9 kB / 321.4 MB, free: 38.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.358e-05/0.003134, allocations: 56.75 kB / 321.5 MB, free: 38.21 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.409e-05/0.003148, allocations: 31.36 kB / 321.5 MB, free: 38.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.61e-07/0.003149, allocations: 4.031 kB / 321.5 MB, free: 38.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 3.045e-05/0.003179, allocations: 45.59 kB / 321.5 MB, free: 38.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.238e-06/0.003183, allocations: 9.703 kB / 321.6 MB, free: 38.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-07/0.003184, allocations: 0 / 321.6 MB, free: 38.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.21e-07/0.003184, allocations: 0 / 321.6 MB, free: 38.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.183e-05/0.003196, allocations: 8 kB / 321.6 MB, free: 38.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.62e-07/0.003197, allocations: 3.938 kB / 321.6 MB, free: 38.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.443e-05/0.003211, allocations: 10.44 kB / 321.6 MB, free: 38.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-06/0.003213, allocations: 4 kB / 321.6 MB, free: 38.09 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.684e-05/0.00325, allocations: 272.1 kB / 321.8 MB, free: 37.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.003264, allocations: 7.984 kB / 321.9 MB, free: 37.81 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.666e-05/0.003281, allocations: 3.312 kB / 321.9 MB, free: 37.81 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.003283, allocations: 7.938 kB / 321.9 MB, free: 37.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.003285, allocations: 0 / 321.9 MB, free: 37.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.003287, allocations: 0 / 321.9 MB, free: 37.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.982e-05/0.003357, allocations: 97.27 kB / 322 MB, free: 37.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.71e-07/0.003358, allocations: 0 / 322 MB, free: 37.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.705e-05/0.003375, allocations: 11.98 kB / 322 MB, free: 37.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.003375, allocations: 3.938 kB / 322 MB, free: 37.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-06/0.003379, allocations: 4 kB / 322 MB, free: 37.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.003379, allocations: 0 / 322 MB, free: 37.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.00338, allocations: 4 kB / 322 MB, free: 37.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.003e-05/0.00343, allocations: 203.5 kB / 322.2 MB, free: 37.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-06/0.003436, allocations: 3.953 kB / 322.2 MB, free: 37.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-06/0.003443, allocations: 4 kB / 322.2 MB, free: 37.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.154e-05/0.003475, allocations: 7.984 kB / 322.2 MB, free: 37.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.0035, allocations: 7.938 kB / 322.2 MB, free: 37.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.003503, allocations: 4.875 kB / 322.2 MB, free: 37.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.747e-05/0.003521, allocations: 127.6 kB / 322.3 MB, free: 37.28 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003521, allocations: 4 kB / 322.3 MB, free: 37.28 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001587/0.003679, allocations: 8 kB / 322.3 MB, free: 37.27 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.13e-05/0.003731, allocations: 91.25 kB / 322.4 MB, free: 37.17 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.668e-05/0.003807, allocations: 47.42 kB / 322.5 MB, free: 37.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.71e-07/0.003808, allocations: 0 / 322.5 MB, free: 37.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.518e-05/0.003823, allocations: 15.69 kB / 322.5 MB, free: 37.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.003966, allocations: 4.984 kB / 322.5 MB, free: 37.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001571/0.004123, allocations: 130.3 kB / 322.6 MB, free: 36.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.951e-05/0.004142, allocations: 59.34 kB / 322.7 MB, free: 36.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.997e-05/0.004162, allocations: 0 / 322.7 MB, free: 36.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.004199, allocations: 74.2 kB / 322.8 MB, free: 36.78 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.004199, allocations: 4 kB / 322.8 MB, free: 36.78 MB / 282.7 MB Notification: Performance of Templates: time 0.001867/0.006066, allocations: 0.7543 MB / 323.5 MB, free: 36.04 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_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: 2.7702232929877937]