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.001609/0.001618, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002168/0.002169, allocations: 197.7 kB / 16.79 MB, free: 6.828 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.66/1.66, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2722/0.2722, allocations: 16.8 MB / 307.4 MB, free: 15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.91 kB / 371.7 MB, free: 4.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4398, allocations: 53.55 MB / 425.3 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.002427/0.4423, allocations: 0.7294 MB / 426 MB, free: 38.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002552/0.4426, allocations: 56.83 kB / 426.1 MB, free: 38.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.4426, allocations: 4.969 kB / 426.1 MB, free: 38.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.616e-05/0.4427, allocations: 0 / 426.1 MB, free: 38.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.4428, allocations: 0.5938 kB / 426.1 MB, free: 38.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.443, allocations: 21.91 kB / 426.1 MB, free: 38.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.4431, allocations: 20.14 kB / 426.1 MB, free: 38.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.4433, allocations: 4.125 kB / 426.1 MB, free: 38.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.832e-05/0.4433, allocations: 14.02 kB / 426.1 MB, free: 38.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.546e-05/0.4434, allocations: 8.578 kB / 426.1 MB, free: 38.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.4434, allocations: 2.781 kB / 426.2 MB, free: 38.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.4434, allocations: 6.562 kB / 426.2 MB, free: 38.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.4434, allocations: 6.562 kB / 426.2 MB, free: 38.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.4435, allocations: 5.734 kB / 426.2 MB, free: 38.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.692e-05/0.4436, allocations: 18.97 kB / 426.2 MB, free: 38.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.4436, allocations: 0 / 426.2 MB, free: 38.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4436, allocations: 3.031 kB / 426.2 MB, free: 38.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.4436, allocations: 0 / 426.2 MB, free: 38.94 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.0004732/0.4441, allocations: 342.7 kB / 426.5 MB, free: 38.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.4441, allocations: 11.59 kB / 426.5 MB, free: 38.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.4442, allocations: 0.9375 kB / 426.5 MB, free: 38.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.4443, allocations: 166.7 kB / 426.7 MB, free: 38.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.4444, allocations: 3.406 kB / 426.7 MB, free: 38.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.4444, allocations: 5.938 kB / 426.7 MB, free: 38.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.4446, allocations: 79.38 kB / 426.8 MB, free: 38.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4446, allocations: 192 / 426.8 MB, free: 38.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.4446, allocations: 3.938 kB / 426.8 MB, free: 38.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.4447, allocations: 6.938 kB / 426.8 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.4448, allocations: 37.16 kB / 426.8 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.4452, allocations: 268.9 kB / 427.1 MB, free: 38.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.4454, allocations: 70.78 kB / 427.2 MB, free: 38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.924e-05/0.4455, allocations: 28.19 kB / 427.2 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.4455, allocations: 0 / 427.2 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.4455, allocations: 47.55 kB / 427.2 MB, free: 37.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.4455, allocations: 0 / 427.2 MB, free: 37.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003676/0.4459, allocations: 88.59 kB / 427.3 MB, free: 37.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.446, allocations: 105.3 kB / 427.4 MB, free: 37.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.54e-05/0.4461, allocations: 102.8 kB / 427.5 MB, free: 37.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.4461, allocations: 29.95 kB / 427.6 MB, free: 37.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.4461, allocations: 84.08 kB / 427.6 MB, free: 37.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.4461, allocations: 3.906 kB / 427.6 MB, free: 37.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.4462, allocations: 21.8 kB / 427.7 MB, free: 37.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.4463, allocations: 310.8 kB / 428 MB, free: 37.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.585e-05/0.4463, allocations: 24.16 kB / 428 MB, free: 37.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.738e-05/0.4464, allocations: 38.33 kB / 428 MB, free: 37.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.4466, allocations: 46.88 kB / 428.1 MB, free: 37.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4466, allocations: 3.531 kB / 428.1 MB, free: 37.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001729/0.4468, allocations: 78.12 kB / 428.2 MB, free: 37.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.4468, allocations: 9.812 kB / 428.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4468, allocations: 3.984 kB / 428.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.4468, allocations: 3.234 kB / 428.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.083e-05/0.4469, allocations: 8.312 kB / 428.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.4469, allocations: 6.172 kB / 428.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.447, allocations: 2.688 kB / 428.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.447, allocations: 2.688 kB / 428.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.471e-05/0.4471, allocations: 96.77 kB / 428.3 MB, free: 37.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.191e-05/0.4471, allocations: 23.67 kB / 428.3 MB, free: 37.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.737e-05/0.4472, allocations: 28 kB / 428.3 MB, free: 37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.51e-07/0.4472, allocations: 3 kB / 428.3 MB, free: 37 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001081/0.4473, allocations: 64.69 kB / 428.4 MB, free: 36.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/0.4473, allocations: 6.25 kB / 428.4 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-06/0.4473, allocations: 0 / 428.4 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-06/0.4473, allocations: 0 / 428.4 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.242e-05/0.4474, allocations: 9.016 kB / 428.4 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-06/0.4474, allocations: 0 / 428.4 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.4474, allocations: 2.906 kB / 428.4 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-06/0.4474, allocations: 2.875 kB / 428.4 MB, free: 36.96 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 6.821e-05/0.4475, allocations: 190.5 kB / 428.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.4475, allocations: 0 / 428.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.4476, allocations: 9.75 kB / 428.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.4476, allocations: 3.938 kB / 428.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4476, allocations: 0 / 428.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.4476, allocations: 3.516 kB / 428.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.4477, allocations: 165.2 kB / 428.8 MB, free: 36.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4477, allocations: 2.969 kB / 428.8 MB, free: 36.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.4478, allocations: 9.094 kB / 428.8 MB, free: 36.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.4478, allocations: 0 / 428.8 MB, free: 36.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.4478, allocations: 6.906 kB / 428.8 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.4478, allocations: 0.625 kB / 428.8 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4478, allocations: 0 / 428.8 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.448, allocations: 175.8 kB / 429 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.4481, allocations: 81.02 kB / 429.1 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.4481, allocations: 9.312 kB / 429.1 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.4482, allocations: 10.97 kB / 429.1 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.4482, allocations: 6.734 kB / 429.1 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.4482, allocations: 2.969 kB / 429.1 MB, free: 36.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.818e-05/0.4483, allocations: 81.56 kB / 429.2 MB, free: 36.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4483, allocations: 0 / 429.2 MB, free: 36.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.4485, allocations: 6.844 kB / 429.2 MB, free: 36.25 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 9.333e-05/0.4486, allocations: 98.95 kB / 429.3 MB, free: 36.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.4489, allocations: 56.84 kB / 429.3 MB, free: 36.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4489, allocations: 0 / 429.3 MB, free: 36.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.795e-05/0.449, allocations: 23.08 kB / 429.3 MB, free: 36.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.4492, allocations: 14.56 kB / 429.4 MB, free: 36.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.4496, allocations: 151.8 kB / 429.5 MB, free: 36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.4498, allocations: 0.6785 MB / 430.2 MB, free: 35.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.4498, allocations: 11.12 kB / 430.2 MB, free: 35.3 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4498, allocations: 0 / 430.2 MB, free: 35.3 MB / 350.1 MB Notification: Performance of Templates: time 0.002352/0.4522, allocations: 0.6202 MB / 430.8 MB, free: 35.27 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches