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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.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.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,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=160,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.001811/0.001811, allocations: 194.7 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06154/0.06154, allocations: 14.17 MB / 284.3 MB, free: 7.254 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 72.12 kB / 345.2 MB, free: 19.74 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08866/0.09005, allocations: 50.13 MB / 395.4 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002153/0.09225, allocations: 0.7442 MB / 396.1 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002479/0.09252, allocations: 67.78 kB / 396.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.09257, allocations: 0 / 396.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.759e-05/0.09261, allocations: 0 / 396.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.019e-05/0.09271, allocations: 3.938 kB / 396.2 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.09288, allocations: 15.98 kB / 396.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.999e-05/0.09298, allocations: 31.92 kB / 396.2 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.09309, allocations: 11.98 kB / 396.2 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.196e-05/0.09313, allocations: 19.86 kB / 396.2 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.153e-05/0.09318, allocations: 11.98 kB / 396.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.0932, allocations: 0 / 396.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.09322, allocations: 4 kB / 396.3 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.09324, allocations: 3.938 kB / 396.3 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.09327, allocations: 8 kB / 396.3 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.722e-05/0.09334, allocations: 15.97 kB / 396.3 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.09335, allocations: 0 / 396.3 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09336, allocations: 0 / 396.3 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.09337, allocations: 0 / 396.3 MB, free: 0.6328 MB / 286.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.0004413/0.09382, allocations: 339.7 kB / 396.6 MB, free: 256 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.09386, allocations: 12.02 kB / 396.6 MB, free: 244 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.0939, allocations: 8.875 kB / 396.6 MB, free: 236 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.09407, allocations: 164.4 kB / 396.8 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.09409, allocations: 4.375 kB / 396.8 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.09411, allocations: 384 / 396.8 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.09433, allocations: 80.73 kB / 396.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.09435, allocations: 192 / 396.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.09437, allocations: 3.938 kB / 396.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.09438, allocations: 0 / 396.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.09455, allocations: 39.89 kB / 396.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.09494, allocations: 277.8 kB / 397.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.09513, allocations: 69.12 kB / 397.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.09525, allocations: 33.7 kB / 397.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.09528, allocations: 4 kB / 397.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.09531, allocations: 34.56 kB / 397.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.09531, allocations: 0 / 397.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003731/0.09569, allocations: 93.73 kB / 397.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.09576, allocations: 106.8 kB / 397.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.077e-05/0.09585, allocations: 105.8 kB / 397.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.09587, allocations: 25.7 kB / 397.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.969e-05/0.09591, allocations: 80.14 kB / 397.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.09594, allocations: 7.906 kB / 397.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.09598, allocations: 13.72 kB / 397.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.0961, allocations: 314.8 kB / 398.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.953e-05/0.0962, allocations: 28.84 kB / 398.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.003e-05/0.0963, allocations: 34.56 kB / 398.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.09647, allocations: 57.64 kB / 398.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.09648, allocations: 0 / 398.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002091/0.0967, allocations: 77.55 kB / 398.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.09672, allocations: 4 kB / 398.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.09673, allocations: 0 / 398.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.09675, allocations: 7.922 kB / 398.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/0.09685, allocations: 12 kB / 398.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.09687, allocations: 4.062 kB / 398.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.824e-05/0.09693, allocations: 11.98 kB / 398.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.09694, allocations: 3.938 kB / 398.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.452e-05/0.09702, allocations: 88.12 kB / 398.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.913e-05/0.09708, allocations: 26.58 kB / 398.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.954e-05/0.09717, allocations: 37.67 kB / 398.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.52e-07/0.09717, allocations: 0 / 398.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001276/0.09731, allocations: 57.53 kB / 398.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/0.09732, allocations: 4 kB / 398.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-06/0.09733, allocations: 0 / 398.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-06/0.09733, allocations: 0 / 398.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.913e-05/0.09738, allocations: 11.98 kB / 398.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.09739, allocations: 3.938 kB / 398.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.072e-05/0.09743, allocations: 8.062 kB / 398.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-06/0.09744, allocations: 0 / 398.5 MB, free: 14.08 MB / 302.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 0.0001085/0.09756, allocations: 197.2 kB / 398.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.09758, allocations: 0 / 398.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.09761, allocations: 7.125 kB / 398.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.09762, allocations: 0 / 398.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.09763, allocations: 4 kB / 398.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.09764, allocations: 3.984 kB / 398.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.09781, allocations: 157.6 kB / 398.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.09782, allocations: 4 kB / 398.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.015e-05/0.09788, allocations: 11.98 kB / 398.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.09789, allocations: 4 kB / 398.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.09791, allocations: 4 kB / 398.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.09792, allocations: 0 / 398.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.09792, allocations: 0 / 398.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.09817, allocations: 180.2 kB / 399.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.09822, allocations: 81.44 kB / 399.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.09824, allocations: 4 kB / 399.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.09833, allocations: 7.984 kB / 399.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.09838, allocations: 7.984 kB / 399.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.09839, allocations: 0 / 399.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.592e-05/0.09843, allocations: 87.27 kB / 399.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09844, allocations: 0 / 399.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.09871, allocations: 8 kB / 399.3 MB, free: 13.23 MB / 302.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 9.134e-05/0.09881, allocations: 99.19 kB / 399.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.09908, allocations: 55.89 kB / 399.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.09909, allocations: 0 / 399.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.058e-05/0.09918, allocations: 36.17 kB / 399.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.09941, allocations: 11.44 kB / 399.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.09975, allocations: 147.6 kB / 399.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.09997, allocations: 0.6768 MB / 400.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.1, allocations: 7.438 kB / 400.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1, allocations: 4.062 kB / 400.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of Templates: time 0.001829/0.1019, allocations: 0.6408 MB / 401 MB, free: 11.49 MB / 302.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile (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=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches