Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_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_symb_jac_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.0009685/0.0009686, allocations: 89.41 kB / 16.67 MB, free: 6.602 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.0009905/0.0009905, allocations: 175.3 kB / 17.58 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.216/1.216, allocations: 205.4 MB / 223.8 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06147/0.06147, allocations: 14.16 MB / 286.2 MB, free: 13.89 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.0004654/0.0004654, allocations: 16.22 kB / 348.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1856, allocations: 51.1 MB / 399.2 MB, free: 47.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.000643/0.1863, allocations: 426.3 kB / 399.6 MB, free: 47.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000156/0.1865, allocations: 55.39 kB / 399.6 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.1865, allocations: 1.344 kB / 399.6 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.1865, allocations: 7.938 kB / 399.7 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.612e-05/0.1866, allocations: 8.922 kB / 399.7 MB, free: 47.4 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001065/0.1867, allocations: 11.06 kB / 399.7 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.547e-05/0.1868, allocations: 26.86 kB / 399.7 MB, free: 47.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.804e-05/0.1869, allocations: 3.344 kB / 399.7 MB, free: 47.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.395e-05/0.1869, allocations: 15.45 kB / 399.7 MB, free: 47.36 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.718e-05/0.187, allocations: 8.047 kB / 399.7 MB, free: 47.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.187, allocations: 5.062 kB / 399.7 MB, free: 47.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.324e-06/0.187, allocations: 0.9375 kB / 399.7 MB, free: 47.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.187, allocations: 9.156 kB / 399.7 MB, free: 47.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.187, allocations: 39.05 kB / 399.8 MB, free: 47.3 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 4.09e-05/0.1871, allocations: 12.05 kB / 399.8 MB, free: 47.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1871, allocations: 3.984 kB / 399.8 MB, free: 47.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1871, allocations: 0 / 399.8 MB, free: 47.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.615e-06/0.1871, allocations: 1.094 kB / 399.8 MB, free: 47.29 MB / 318.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.0002557/0.1874, allocations: 330.5 kB / 400.1 MB, free: 46.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.1874, allocations: 13.47 kB / 400.1 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.1874, allocations: 6.125 kB / 400.1 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.214e-05/0.1875, allocations: 167.8 kB / 400.3 MB, free: 46.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1876, allocations: 5.469 kB / 400.3 MB, free: 46.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.1876, allocations: 5.094 kB / 400.3 MB, free: 46.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.1877, allocations: 76.62 kB / 400.4 MB, free: 46.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1878, allocations: 4.188 kB / 400.4 MB, free: 46.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1878, allocations: 4.906 kB / 400.4 MB, free: 46.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.1878, allocations: 0 / 400.4 MB, free: 46.64 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.188, allocations: 48.89 kB / 400.4 MB, free: 46.62 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/0.1882, allocations: 269.8 kB / 400.7 MB, free: 46.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.1884, allocations: 85.31 kB / 400.8 MB, free: 46.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.768e-05/0.1885, allocations: 35.48 kB / 400.8 MB, free: 46.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.1885, allocations: 1 kB / 400.8 MB, free: 46.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.1886, allocations: 35.59 kB / 400.9 MB, free: 46.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1886, allocations: 4 kB / 400.9 MB, free: 46.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003498/0.1889, allocations: 102.5 kB / 401 MB, free: 46.12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.189, allocations: 108.3 kB / 401.1 MB, free: 45.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.142e-05/0.189, allocations: 98.66 kB / 401.2 MB, free: 45.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.189, allocations: 25.7 kB / 401.2 MB, free: 45.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2e-05/0.189, allocations: 93.25 kB / 401.3 MB, free: 45.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.1891, allocations: 9.125 kB / 401.3 MB, free: 45.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.1891, allocations: 11 kB / 401.3 MB, free: 45.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 2.958e-05/0.1891, allocations: 315.9 kB / 401.6 MB, free: 45.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.925e-05/0.1892, allocations: 21.45 kB / 401.6 MB, free: 45.42 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.962e-05/0.1893, allocations: 42.77 kB / 401.7 MB, free: 45.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.1895, allocations: 59.09 kB / 401.7 MB, free: 45.35 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1895, allocations: 1.156 kB / 401.7 MB, free: 45.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002208/0.1897, allocations: 92.41 kB / 401.8 MB, free: 45.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.1898, allocations: 95.2 kB / 401.9 MB, free: 45.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1898, allocations: 0.9375 kB / 401.9 MB, free: 45.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.1898, allocations: 1.062 kB / 401.9 MB, free: 45.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-05/0.1899, allocations: 13.08 kB / 401.9 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1899, allocations: 9.219 kB / 401.9 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.945e-05/0.19, allocations: 7.531 kB / 401.9 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.19, allocations: 9.109 kB / 402 MB, free: 45.17 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.47e-06/0.19, allocations: 4.5 kB / 402 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 9.218e-05/0.1901, allocations: 24.5 kB / 402 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-06/0.1901, allocations: 9.047 kB / 402 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-06/0.1901, allocations: 1.219 kB / 402 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.598e-05/0.1901, allocations: 4.281 kB / 402 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-06/0.1901, allocations: 5.156 kB / 402 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.695e-05/0.1902, allocations: 7.438 kB / 402 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-06/0.1902, allocations: 1.094 kB / 402 MB, free: 45.14 MB / 318.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.536e-05/0.1902, allocations: 187.3 kB / 402.2 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.1903, allocations: 14.02 kB / 402.2 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.798e-05/0.1903, allocations: 12.17 kB / 402.2 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1903, allocations: 1.281 kB / 402.2 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.1903, allocations: 0 / 402.2 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1903, allocations: 5.125 kB / 402.2 MB, free: 44.92 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.1904, allocations: 163.4 kB / 402.4 MB, free: 44.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1904, allocations: 0.9375 kB / 402.4 MB, free: 44.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.527e-05/0.1905, allocations: 12.69 kB / 402.4 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1905, allocations: 5.156 kB / 402.4 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.1905, allocations: 1.031 kB / 402.4 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1905, allocations: 1 kB / 402.4 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1905, allocations: 3.984 kB / 402.4 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.1909, allocations: 0.7475 MB / 403.2 MB, free: 43.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.191, allocations: 82.19 kB / 403.2 MB, free: 43.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.191, allocations: 1.094 kB / 403.2 MB, free: 43.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.87e-05/0.1911, allocations: 7.688 kB / 403.2 MB, free: 43.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.1911, allocations: 10.23 kB / 403.3 MB, free: 43.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.1911, allocations: 1.719 kB / 403.3 MB, free: 43.85 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.826e-05/0.1911, allocations: 77.19 kB / 403.3 MB, free: 43.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1911, allocations: 1.031 kB / 403.3 MB, free: 43.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005079/0.1916, allocations: 14.28 kB / 403.3 MB, free: 43.77 MB / 318.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.274e-05/0.1917, allocations: 101.1 kB / 403.4 MB, free: 43.67 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.192, allocations: 63.3 kB / 403.5 MB, free: 43.65 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.192, allocations: 1.125 kB / 403.5 MB, free: 43.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.337e-05/0.1921, allocations: 29.67 kB / 403.5 MB, free: 43.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.1923, allocations: 6.344 kB / 403.5 MB, free: 43.63 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.1926, allocations: 268.8 kB / 403.8 MB, free: 43.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.47e-05/0.1927, allocations: 0.6743 MB / 404.5 MB, free: 42.65 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.1927, allocations: 13.56 kB / 404.5 MB, free: 42.64 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1927, allocations: 0 / 404.5 MB, free: 42.64 MB / 318.1 MB Notification: Performance of Templates: time 0.001528/0.1942, allocations: 0.6389 MB / 405.1 MB, free: 42.32 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches