Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 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.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_dev_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_dev_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.0009224/0.0009224, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005016/0.005016, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.262/1.262, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1783/0.1783, allocations: 16.76 MB / 308.2 MB, free: 15.59 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002705/0.0002706, allocations: 8 kB / 373.5 MB, free: 3.238 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2236, allocations: 54.55 MB / 428.1 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.0006298/0.2243, allocations: 407.6 kB / 428.5 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001591/0.2244, allocations: 68.23 kB / 428.5 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.2245, allocations: 0.6562 kB / 428.5 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.219e-05/0.2245, allocations: 0 / 428.5 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.788e-05/0.2246, allocations: 4.203 kB / 428.5 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001111/0.2247, allocations: 17.41 kB / 428.6 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.356e-05/0.2247, allocations: 26.3 kB / 428.6 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.183e-05/0.2248, allocations: 0.9375 kB / 428.6 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.423e-05/0.2249, allocations: 17.09 kB / 428.6 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.877e-05/0.2249, allocations: 10.11 kB / 428.6 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.2249, allocations: 1.031 kB / 428.6 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.2249, allocations: 2.938 kB / 428.6 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.225, allocations: 7.797 kB / 428.6 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.225, allocations: 33.58 kB / 428.7 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.202e-05/0.2251, allocations: 21.2 kB / 428.7 MB, free: 37.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2251, allocations: 0 / 428.7 MB, free: 37.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2251, allocations: 0.6875 kB / 428.7 MB, free: 37.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.524e-06/0.2251, allocations: 0 / 428.7 MB, free: 37.61 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.0002615/0.2253, allocations: 337.8 kB / 429 MB, free: 37.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.2254, allocations: 11.8 kB / 429 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.2254, allocations: 7.656 kB / 429 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.389e-05/0.2255, allocations: 164.8 kB / 429.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.2255, allocations: 2.969 kB / 429.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.2255, allocations: 5.062 kB / 429.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.2257, allocations: 76.23 kB / 429.3 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.2257, allocations: 192 / 429.3 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.2257, allocations: 9.797 kB / 429.3 MB, free: 36.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2258, allocations: 3.688 kB / 429.3 MB, free: 36.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.2259, allocations: 49.73 kB / 429.3 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002615/0.2262, allocations: 278.1 kB / 429.6 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.2264, allocations: 77.22 kB / 429.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.374e-05/0.2265, allocations: 39.19 kB / 429.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.2265, allocations: 3.031 kB / 429.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.354e-05/0.2265, allocations: 30.56 kB / 429.8 MB, free: 36.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2265, allocations: 0 / 429.8 MB, free: 36.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003469/0.2269, allocations: 109.3 kB / 429.9 MB, free: 36.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.2269, allocations: 105.4 kB / 430 MB, free: 36.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.052e-05/0.227, allocations: 100.8 kB / 430.1 MB, free: 36.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.227, allocations: 25.7 kB / 430.1 MB, free: 36.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.052e-05/0.227, allocations: 94.77 kB / 430.2 MB, free: 36.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.227, allocations: 7.844 kB / 430.2 MB, free: 36.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.227, allocations: 9.719 kB / 430.2 MB, free: 36.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.288e-05/0.2271, allocations: 320 kB / 430.5 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.2272, allocations: 15.61 kB / 430.5 MB, free: 35.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.615e-05/0.2273, allocations: 49.98 kB / 430.6 MB, free: 35.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.2274, allocations: 53.55 kB / 430.6 MB, free: 35.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2274, allocations: 3.188 kB / 430.6 MB, free: 35.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002011/0.2276, allocations: 82.72 kB / 430.7 MB, free: 35.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.2277, allocations: 99.64 kB / 430.8 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2277, allocations: 5.203 kB / 430.8 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.2277, allocations: 0 / 430.8 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.291e-05/0.2278, allocations: 12.25 kB / 430.8 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2278, allocations: 2.75 kB / 430.8 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.929e-05/0.2279, allocations: 16.06 kB / 430.8 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.2279, allocations: 2.75 kB / 430.8 MB, free: 35.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.408e-06/0.2279, allocations: 2.875 kB / 430.8 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.728e-05/0.228, allocations: 27.84 kB / 430.9 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-06/0.228, allocations: 3.031 kB / 430.9 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-06/0.228, allocations: 0 / 430.9 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.549e-05/0.228, allocations: 10.64 kB / 430.9 MB, free: 35.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-06/0.228, allocations: 2.688 kB / 430.9 MB, free: 35.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.628e-05/0.2281, allocations: 6.75 kB / 430.9 MB, free: 35.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-06/0.2281, allocations: 3.938 kB / 430.9 MB, free: 35.66 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 4.615e-05/0.2281, allocations: 192.2 kB / 431.1 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.2282, allocations: 14.86 kB / 431.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.2282, allocations: 6.625 kB / 431.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2282, allocations: 0 / 431.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.2282, allocations: 0 / 431.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2282, allocations: 0 / 431.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.2283, allocations: 160.9 kB / 431.3 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2283, allocations: 3.938 kB / 431.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.28e-05/0.2284, allocations: 20.19 kB / 431.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2284, allocations: 2.406 kB / 431.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.2284, allocations: 0 / 431.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2284, allocations: 0 / 431.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2284, allocations: 2.625 kB / 431.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.2286, allocations: 181 kB / 431.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.2287, allocations: 88.17 kB / 431.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.2287, allocations: 2.969 kB / 431.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.2288, allocations: 6.609 kB / 431.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.2288, allocations: 10.05 kB / 431.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.2288, allocations: 2.656 kB / 431.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.812e-05/0.2288, allocations: 82.56 kB / 431.7 MB, free: 34.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2288, allocations: 0 / 431.7 MB, free: 34.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.2291, allocations: 6.031 kB / 431.7 MB, free: 34.95 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 5.161e-05/0.2292, allocations: 101.8 kB / 431.8 MB, free: 34.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.2294, allocations: 65.48 kB / 431.8 MB, free: 34.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2294, allocations: 3.625 kB / 431.8 MB, free: 34.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.972e-05/0.2295, allocations: 26.97 kB / 431.9 MB, free: 34.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.2297, allocations: 14.69 kB / 431.9 MB, free: 34.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.23, allocations: 138.8 kB / 432 MB, free: 34.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.33e-05/0.2301, allocations: 0.6753 MB / 432.7 MB, free: 34.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.507e-05/0.2301, allocations: 12.48 kB / 432.7 MB, free: 34.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.2302, allocations: 7.438 kB / 432.7 MB, free: 34 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2302, allocations: 0 / 432.7 MB, free: 34 MB / 350.1 MB Notification: Performance of Templates: time 0.002065/0.2322, allocations: 0.5374 MB / 433.2 MB, free: 33.95 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches