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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,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=160,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00582/0.00582, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 195.5 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07416/0.07416, allocations: 16.78 MB / 307.3 MB, free: 14.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 59.91 kB / 426.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08639/0.0875, allocations: 53.57 MB / 480.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001651/0.08919, allocations: 0.6807 MB / 480.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001965/0.08939, allocations: 60.14 kB / 480.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.08944, allocations: 0 / 480.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.08947, allocations: 3.938 kB / 480.9 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.843e-05/0.08955, allocations: 3.938 kB / 480.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.08968, allocations: 23.97 kB / 480.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.138e-05/0.08977, allocations: 27.92 kB / 480.9 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.52e-05/0.08986, allocations: 4 kB / 480.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.949e-05/0.0899, allocations: 7.984 kB / 480.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.763e-05/0.08995, allocations: 15.92 kB / 480.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.08997, allocations: 4 kB / 481 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.504e-06/0.08998, allocations: 0 / 481 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.09, allocations: 4 kB / 481 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.09003, allocations: 15.92 kB / 481 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.845e-05/0.09011, allocations: 15.92 kB / 481 MB, free: 4.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.09012, allocations: 7.984 kB / 481 MB, free: 4.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.09012, allocations: 0 / 481 MB, free: 4.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.09013, allocations: 0 / 481 MB, free: 4.129 MB / 350.1 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.0003718/0.09051, allocations: 331.5 kB / 481.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.09055, allocations: 8.031 kB / 481.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.09058, allocations: 8.844 kB / 481.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.09074, allocations: 168.4 kB / 481.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.09076, allocations: 384 / 481.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.09077, allocations: 4.312 kB / 481.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.09096, allocations: 76.81 kB / 481.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.09097, allocations: 192 / 481.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.09099, allocations: 3.938 kB / 481.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.091, allocations: 0 / 481.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.09117, allocations: 43.89 kB / 481.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003337/0.09152, allocations: 265.8 kB / 481.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.09169, allocations: 69.12 kB / 482 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.95e-05/0.0918, allocations: 41.69 kB / 482 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.09183, allocations: 0 / 482 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.09187, allocations: 30.56 kB / 482 MB, free: 2.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.09187, allocations: 3.938 kB / 482 MB, free: 2.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003504/0.09223, allocations: 97.67 kB / 482.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.09229, allocations: 102.8 kB / 482.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.396e-05/0.09236, allocations: 97.86 kB / 482.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.09238, allocations: 25.7 kB / 482.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.09243, allocations: 80.14 kB / 482.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.09245, allocations: 15.8 kB / 482.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.09249, allocations: 17.72 kB / 482.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.09259, allocations: 315 kB / 482.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.557e-05/0.09268, allocations: 20.84 kB / 482.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.782e-05/0.09278, allocations: 38.55 kB / 482.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.09294, allocations: 53.66 kB / 482.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.09295, allocations: 0 / 482.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001937/0.09315, allocations: 77.53 kB / 482.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.09317, allocations: 4 kB / 483 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.09318, allocations: 0 / 483 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.0932, allocations: 0 / 483 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.275e-05/0.09328, allocations: 16.05 kB / 483 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.0933, allocations: 0 / 483 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.403e-05/0.09335, allocations: 12.22 kB / 483 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.09337, allocations: 0 / 483 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.186e-05/0.09344, allocations: 92.12 kB / 483.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.586e-05/0.0935, allocations: 30.55 kB / 483.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.442e-05/0.09359, allocations: 29.69 kB / 483.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.09359, allocations: 4 kB / 483.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.000114/0.09371, allocations: 49.62 kB / 483.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.091e-06/0.09373, allocations: 8 kB / 483.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-06/0.09373, allocations: 0 / 483.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-06/0.09374, allocations: 0 / 483.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.782e-05/0.09378, allocations: 7.984 kB / 483.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-06/0.09379, allocations: 12 kB / 483.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.96e-05/0.09384, allocations: 12 kB / 483.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-06/0.09384, allocations: 0 / 483.2 MB, free: 1.598 MB / 350.1 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 8.144e-05/0.09393, allocations: 180.2 kB / 483.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.09396, allocations: 11.89 kB / 483.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.873e-05/0.09398, allocations: 3.125 kB / 483.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.09399, allocations: 3.938 kB / 483.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.094, allocations: 7.938 kB / 483.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.09401, allocations: 4 kB / 483.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.09417, allocations: 165.6 kB / 483.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.09418, allocations: 0 / 483.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/0.09424, allocations: 11.98 kB / 483.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.09425, allocations: 0 / 483.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.09426, allocations: 4 kB / 483.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.09427, allocations: 0 / 483.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.09427, allocations: 0 / 483.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.0945, allocations: 180.2 kB / 483.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.09455, allocations: 81.09 kB / 483.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.09457, allocations: 0 / 483.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.09465, allocations: 8 kB / 483.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.0947, allocations: 7.984 kB / 483.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.09471, allocations: 0 / 483.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.694e-05/0.09476, allocations: 83.28 kB / 484 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09476, allocations: 0 / 484 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.09503, allocations: 8 kB / 484 MB, free: 0.7578 MB / 350.1 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.775e-05/0.09511, allocations: 95.25 kB / 484.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.09536, allocations: 55.89 kB / 484.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.09537, allocations: 4.25 kB / 484.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.38e-05/0.09547, allocations: 27.91 kB / 484.1 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.0957, allocations: 10.28 kB / 484.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.09599, allocations: 117.7 kB / 484.3 MB, free: 424 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.09624, allocations: 0.6807 MB / 484.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.58e-05/0.09629, allocations: 4.125 kB / 485 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.09632, allocations: 11.44 kB / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.09633, allocations: 0 / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of Templates: time 0.002399/0.09873, allocations: 0.6178 MB / 485.6 MB, free: 15.07 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (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) 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) Reference file matches