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.0007747/0.0007747, allocations: 91.92 kB / 16.02 MB, free: 80 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.000796/0.000796, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.254/1.254, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1719/0.1719, allocations: 16.76 MB / 308.8 MB, free: 15.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002824, allocations: 8 kB / 374.2 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2221, allocations: 54.56 MB / 428.7 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.0006431/0.2227, allocations: 406 kB / 429.1 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001605/0.2229, allocations: 61.05 kB / 429.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.223, allocations: 3.938 kB / 429.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.243e-05/0.223, allocations: 0 / 429.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.828e-05/0.2231, allocations: 4.484 kB / 429.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001127/0.2232, allocations: 14 kB / 429.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.596e-05/0.2232, allocations: 27.98 kB / 429.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.259e-05/0.2233, allocations: 3.891 kB / 429.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.329e-05/0.2234, allocations: 15.02 kB / 429.3 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.845e-05/0.2234, allocations: 6.781 kB / 429.3 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.2234, allocations: 3.953 kB / 429.3 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-06/0.2234, allocations: 0 / 429.3 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.2235, allocations: 14.83 kB / 429.3 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.2235, allocations: 28.64 kB / 429.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.45e-05/0.2235, allocations: 13.38 kB / 429.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2236, allocations: 6.156 kB / 429.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2236, allocations: 0 / 429.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.2236, allocations: 0 / 429.3 MB, free: 37.71 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.0002703/0.2238, allocations: 335.5 kB / 429.7 MB, free: 37.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.2239, allocations: 15.22 kB / 429.7 MB, free: 37.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.2239, allocations: 8.344 kB / 429.7 MB, free: 37.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.682e-05/0.224, allocations: 166.6 kB / 429.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.224, allocations: 3.312 kB / 429.9 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.224, allocations: 384 / 429.9 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.2242, allocations: 80.83 kB / 429.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.2242, allocations: 192 / 429.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2243, allocations: 7.625 kB / 429.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2243, allocations: 0 / 429.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.2244, allocations: 48.11 kB / 430 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.2247, allocations: 273.5 kB / 430.3 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.2249, allocations: 85.92 kB / 430.3 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.341e-05/0.225, allocations: 31.78 kB / 430.4 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.225, allocations: 2.906 kB / 430.4 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.225, allocations: 39.39 kB / 430.4 MB, free: 36.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.225, allocations: 0 / 430.4 MB, free: 36.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003405/0.2254, allocations: 105.5 kB / 430.5 MB, free: 36.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.2254, allocations: 106.7 kB / 430.6 MB, free: 36.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.381e-05/0.2255, allocations: 102.2 kB / 430.7 MB, free: 36.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.2255, allocations: 25.7 kB / 430.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.118e-05/0.2255, allocations: 90.36 kB / 430.8 MB, free: 36.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.2255, allocations: 6.781 kB / 430.8 MB, free: 36.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.2256, allocations: 13.16 kB / 430.9 MB, free: 36.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.286e-05/0.2256, allocations: 314 kB / 431.2 MB, free: 35.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.545e-05/0.2257, allocations: 26 kB / 431.2 MB, free: 35.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.515e-05/0.2258, allocations: 47.98 kB / 431.2 MB, free: 35.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.226, allocations: 56.75 kB / 431.3 MB, free: 35.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.226, allocations: 0 / 431.3 MB, free: 35.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001973/0.2262, allocations: 91.23 kB / 431.4 MB, free: 35.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.2262, allocations: 92.89 kB / 431.5 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2262, allocations: 3.938 kB / 431.5 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.2262, allocations: 2.875 kB / 431.5 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.668e-05/0.2263, allocations: 16.73 kB / 431.5 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.2263, allocations: 4 kB / 431.5 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.956e-05/0.2264, allocations: 12.2 kB / 431.5 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.2264, allocations: 0 / 431.5 MB, free: 35.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.53e-06/0.2264, allocations: 5.094 kB / 431.5 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.824e-05/0.2265, allocations: 27.78 kB / 431.5 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/0.2265, allocations: 2.75 kB / 431.5 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-06/0.2265, allocations: 0 / 431.5 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.534e-05/0.2266, allocations: 13.33 kB / 431.6 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-06/0.2266, allocations: 0 / 431.6 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.53e-05/0.2266, allocations: 2.75 kB / 431.6 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-06/0.2266, allocations: 2.75 kB / 431.6 MB, free: 35.78 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.565e-05/0.2267, allocations: 184.6 kB / 431.7 MB, free: 35.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.2267, allocations: 11.62 kB / 431.7 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.89e-05/0.2267, allocations: 9.859 kB / 431.8 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2267, allocations: 0 / 431.8 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2267, allocations: 11.31 kB / 431.8 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2267, allocations: 0 / 431.8 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.2269, allocations: 157 kB / 431.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2269, allocations: 0.875 kB / 431.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.2269, allocations: 16.66 kB / 431.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2269, allocations: 0 / 431.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.227, allocations: 2.969 kB / 431.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.227, allocations: 0 / 431.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.227, allocations: 3.938 kB / 431.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.2272, allocations: 187.9 kB / 432.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.2272, allocations: 81.05 kB / 432.2 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.2272, allocations: 3 kB / 432.2 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.428e-05/0.2273, allocations: 13.11 kB / 432.2 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.2273, allocations: 10.09 kB / 432.2 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.2274, allocations: 0 / 432.2 MB, free: 35.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.811e-05/0.2274, allocations: 81.5 kB / 432.3 MB, free: 35.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.2274, allocations: 0 / 432.3 MB, free: 35.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.2277, allocations: 12.81 kB / 432.3 MB, free: 35.05 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.326e-05/0.2277, allocations: 98.33 kB / 432.4 MB, free: 34.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.228, allocations: 65.42 kB / 432.5 MB, free: 34.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.228, allocations: 0 / 432.5 MB, free: 34.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.116e-05/0.2281, allocations: 32.95 kB / 432.5 MB, free: 34.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.2283, allocations: 16.34 kB / 432.5 MB, free: 34.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.2286, allocations: 155.7 kB / 432.7 MB, free: 34.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.383e-05/0.2287, allocations: 0.6767 MB / 433.4 MB, free: 34.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.2287, allocations: 14.44 kB / 433.4 MB, free: 34.08 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2287, allocations: 0 / 433.4 MB, free: 34.08 MB / 350.1 MB Notification: Performance of Templates: time 0.001606/0.2303, allocations: 0.6353 MB / 434 MB, free: 34.05 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=480 -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