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.0008904/0.0008904, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001022/0.001022, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9756/0.9756, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.0446/0.0446, allocations: 12.52 MB / 272.5 MB, free: 1.129 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.013e-06/2.013e-06, allocations: 0 / 403.6 MB, free: 9.164 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.093e-05, allocations: 5.094 kB / 403.6 MB, free: 9.16 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001613/0.001644, allocations: 0.6819 MB / 404.3 MB, free: 8.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002773/0.001921, allocations: 55.75 kB / 404.3 MB, free: 8.426 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.001961, allocations: 0 / 404.3 MB, free: 8.426 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.001993, allocations: 3.938 kB / 404.3 MB, free: 8.422 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.002097, allocations: 0 / 404.3 MB, free: 8.422 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.002285, allocations: 19.92 kB / 404.3 MB, free: 8.402 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.002402, allocations: 27.92 kB / 404.4 MB, free: 8.375 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.002515, allocations: 4 kB / 404.4 MB, free: 8.371 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.002558, allocations: 15.92 kB / 404.4 MB, free: 8.355 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.931e-05/0.002607, allocations: 11.97 kB / 404.4 MB, free: 8.344 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.00263, allocations: 4 kB / 404.4 MB, free: 8.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.603e-06/0.002636, allocations: 0 / 404.4 MB, free: 8.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.002651, allocations: 4 kB / 404.4 MB, free: 8.336 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.002674, allocations: 11.94 kB / 404.4 MB, free: 8.324 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 7.769e-05/0.002751, allocations: 15.97 kB / 404.4 MB, free: 8.309 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.002754, allocations: 0 / 404.4 MB, free: 8.309 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.002755, allocations: 4 kB / 404.4 MB, free: 8.305 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.002759, allocations: 0 / 404.4 MB, free: 8.305 MB / 330.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.0003622/0.003121, allocations: 254.4 kB / 404.7 MB, free: 8.023 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.003162, allocations: 12.03 kB / 404.7 MB, free: 8.012 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.003193, allocations: 4.891 kB / 404.7 MB, free: 8.008 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.003322, allocations: 121.7 kB / 404.8 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.003333, allocations: 384 / 404.8 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.003342, allocations: 4.375 kB / 404.8 MB, free: 7.859 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.003496, allocations: 98.52 kB / 404.9 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.003503, allocations: 8.172 kB / 404.9 MB, free: 7.734 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.003514, allocations: 384 / 404.9 MB, free: 7.734 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.003518, allocations: 384 / 404.9 MB, free: 7.734 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.826e-05/0.003606, allocations: 43.83 kB / 405 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.003871, allocations: 205.5 kB / 405.2 MB, free: 7.457 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.003977, allocations: 69 kB / 405.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.004035, allocations: 33.83 kB / 405.3 MB, free: 7.332 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.004057, allocations: 7.984 kB / 405.3 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.004079, allocations: 34.5 kB / 405.3 MB, free: 7.281 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.00408, allocations: 0 / 405.3 MB, free: 7.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002235/0.004303, allocations: 93.75 kB / 405.4 MB, free: 7.184 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003101/0.004613, allocations: 110.8 kB / 405.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.666e-05/0.00467, allocations: 97.86 kB / 405.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.00468, allocations: 25.7 kB / 405.6 MB, free: 6.914 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.004717, allocations: 88.08 kB / 405.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.004736, allocations: 7.953 kB / 405.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.004763, allocations: 21.7 kB / 405.7 MB, free: 6.789 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.274e-05/0.004835, allocations: 310.8 kB / 406 MB, free: 6.477 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.114e-05/0.004887, allocations: 24.84 kB / 406.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.703e-05/0.004944, allocations: 68.28 kB / 406.1 MB, free: 6.367 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.798e-05/0.005032, allocations: 49.62 kB / 406.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005034, allocations: 0 / 406.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001095/0.005143, allocations: 69.59 kB / 406.3 MB, free: 6.238 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.005157, allocations: 13.97 kB / 406.3 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.005163, allocations: 3.938 kB / 406.3 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.005175, allocations: 0 / 406.3 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-05/0.005239, allocations: 12 kB / 406.3 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.005244, allocations: 3.984 kB / 406.3 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.64e-05/0.005271, allocations: 8 kB / 406.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.005276, allocations: 0 / 406.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.328e-05/0.005319, allocations: 88.12 kB / 406.4 MB, free: 6.109 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.467e-05/0.005354, allocations: 52.28 kB / 406.4 MB, free: 6.043 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 3.884e-05/0.005393, allocations: 37.67 kB / 406.5 MB, free: 6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.61e-07/0.005393, allocations: 0 / 406.5 MB, free: 6 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 6.003e-05/0.005453, allocations: 53.64 kB / 406.5 MB, free: 5.941 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.109e-06/0.005458, allocations: 4 kB / 406.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.82e-07/0.005459, allocations: 0 / 406.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-06/0.005461, allocations: 3.938 kB / 406.5 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.932e-05/0.00548, allocations: 19.92 kB / 406.5 MB, free: 5.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.81e-07/0.005481, allocations: 4.062 kB / 406.6 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.588e-05/0.005497, allocations: 4 kB / 406.6 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-06/0.005498, allocations: 0 / 406.6 MB, free: 5.906 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 6.326e-05/0.005561, allocations: 184.2 kB / 406.7 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.005573, allocations: 0 / 406.7 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.005595, allocations: 23.12 kB / 406.8 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.005598, allocations: 4 kB / 406.8 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.005602, allocations: 0 / 406.8 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005605, allocations: 3.938 kB / 406.8 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.774e-05/0.005703, allocations: 105.3 kB / 406.9 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.005703, allocations: 4 kB / 406.9 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.472e-05/0.005728, allocations: 11.98 kB / 406.9 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.00573, allocations: 4 kB / 406.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.005737, allocations: 384 / 406.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.005739, allocations: 7.922 kB / 406.9 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.00574, allocations: 0 / 406.9 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.005874, allocations: 176.3 kB / 407.1 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-06/0.005884, allocations: 11.94 kB / 407.1 MB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.005894, allocations: 4 kB / 407.1 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.777e-05/0.005932, allocations: 7.938 kB / 407.1 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.00597, allocations: 7.984 kB / 407.1 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.005972, allocations: 0 / 407.1 MB, free: 5.305 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.651e-05/0.005999, allocations: 83.28 kB / 407.2 MB, free: 5.223 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005999, allocations: 0 / 407.2 MB, free: 5.223 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.006172, allocations: 8 kB / 407.2 MB, free: 5.215 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 7.346e-05/0.006246, allocations: 91.78 kB / 407.3 MB, free: 5.117 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.006401, allocations: 63.88 kB / 407.3 MB, free: 5.055 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006403, allocations: 0 / 407.3 MB, free: 5.055 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/0.006445, allocations: 23.92 kB / 407.4 MB, free: 5.031 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.006605, allocations: 4 kB / 407.4 MB, free: 5.027 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.006871, allocations: 151.7 kB / 407.5 MB, free: 4.844 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.329e-05/0.006914, allocations: 67.34 kB / 407.6 MB, free: 4.758 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.006941, allocations: 12.5 kB / 407.6 MB, free: 4.746 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.006942, allocations: 0 / 407.6 MB, free: 4.746 MB / 330.7 MB Notification: Performance of Templates: time 0.001461/0.008403, allocations: 0.6366 MB / 408.2 MB, free: 4.109 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=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.347667513415217]