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.0007418/0.0007418, allocations: 98.27 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.004049/0.004049, allocations: 169.2 kB / 16.26 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.231/1.231, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1676/0.1676, allocations: 16.76 MB / 308.2 MB, free: 15.55 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000267/0.0002671, allocations: 8 kB / 373.5 MB, free: 3.215 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2211, allocations: 54.55 MB / 428.1 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.0006483/0.2217, allocations: 403.4 kB / 428.5 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001666/0.2219, allocations: 64.27 kB / 428.5 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.222, allocations: 0 / 428.5 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.222, allocations: 3.719 kB / 428.5 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.803e-05/0.2221, allocations: 5 kB / 428.5 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000114/0.2222, allocations: 16.27 kB / 428.6 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.732e-05/0.2223, allocations: 26.97 kB / 428.6 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.437e-05/0.2223, allocations: 7.406 kB / 428.6 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.309e-05/0.2224, allocations: 10.17 kB / 428.6 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.918e-05/0.2224, allocations: 12.89 kB / 428.6 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.2224, allocations: 4.609 kB / 428.6 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.973e-06/0.2225, allocations: 0 / 428.6 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.2225, allocations: 9.141 kB / 428.6 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.2225, allocations: 33.44 kB / 428.7 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.288e-05/0.2226, allocations: 15.88 kB / 428.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2226, allocations: 4.906 kB / 428.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2226, allocations: 0 / 428.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.2226, allocations: 0 / 428.7 MB, free: 37.72 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.0002702/0.2229, allocations: 334.5 kB / 429 MB, free: 37.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.2229, allocations: 8.125 kB / 429 MB, free: 37.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.2229, allocations: 7.656 kB / 429 MB, free: 37.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.973e-05/0.223, allocations: 171 kB / 429.2 MB, free: 37.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.2231, allocations: 384 / 429.2 MB, free: 37.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.2231, allocations: 7.156 kB / 429.2 MB, free: 37.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.2232, allocations: 77.56 kB / 429.3 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.2233, allocations: 1.625 kB / 429.3 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.2233, allocations: 10.47 kB / 429.3 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2233, allocations: 0 / 429.3 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.2235, allocations: 49.08 kB / 429.3 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.2238, allocations: 273.5 kB / 429.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.224, allocations: 79.84 kB / 429.7 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.865e-05/0.2241, allocations: 42.8 kB / 429.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.2241, allocations: 3.281 kB / 429.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.2241, allocations: 37.22 kB / 429.8 MB, free: 36.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2241, allocations: 0 / 429.8 MB, free: 36.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003667/0.2245, allocations: 99.14 kB / 429.9 MB, free: 36.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.2246, allocations: 109.3 kB / 430 MB, free: 36.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.893e-05/0.2246, allocations: 97.27 kB / 430.1 MB, free: 36.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.2246, allocations: 25.7 kB / 430.1 MB, free: 36.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.534e-05/0.2247, allocations: 95.67 kB / 430.2 MB, free: 36.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.2247, allocations: 10.44 kB / 430.2 MB, free: 36.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/0.2247, allocations: 9.719 kB / 430.2 MB, free: 36.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.753e-05/0.2248, allocations: 314.1 kB / 430.5 MB, free: 35.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.612e-05/0.2249, allocations: 21.39 kB / 430.5 MB, free: 35.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.877e-05/0.2249, allocations: 40.69 kB / 430.6 MB, free: 35.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.2251, allocations: 61.97 kB / 430.6 MB, free: 35.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2251, allocations: 4.031 kB / 430.6 MB, free: 35.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002023/0.2253, allocations: 77.89 kB / 430.7 MB, free: 35.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.2254, allocations: 111 kB / 430.8 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2254, allocations: 0 / 430.8 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2254, allocations: 0.7031 kB / 430.8 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.258e-05/0.2255, allocations: 12.94 kB / 430.8 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2255, allocations: 3.656 kB / 430.8 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.2256, allocations: 6.969 kB / 430.8 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.2256, allocations: 2.906 kB / 430.8 MB, free: 35.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.781e-06/0.2256, allocations: 6.594 kB / 430.8 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.903e-05/0.2257, allocations: 29 kB / 430.9 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-06/0.2257, allocations: 0 / 430.9 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-06/0.2257, allocations: 3.328 kB / 430.9 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.496e-05/0.2258, allocations: 5.344 kB / 430.9 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-06/0.2258, allocations: 0 / 430.9 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/0.2258, allocations: 7.562 kB / 430.9 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-06/0.2258, allocations: 2.75 kB / 430.9 MB, free: 35.79 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 5.091e-05/0.2259, allocations: 191 kB / 431.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.2259, allocations: 11.78 kB / 431.1 MB, free: 35.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.2259, allocations: 16.84 kB / 431.1 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2259, allocations: 0 / 431.1 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2259, allocations: 0 / 431.1 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.226, allocations: 2.75 kB / 431.1 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.2261, allocations: 160.2 kB / 431.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2261, allocations: 4 kB / 431.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.351e-05/0.2261, allocations: 18.03 kB / 431.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2262, allocations: 4 kB / 431.3 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.2262, allocations: 0 / 431.3 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2262, allocations: 3.938 kB / 431.3 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2262, allocations: 2.938 kB / 431.3 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.2264, allocations: 179.7 kB / 431.5 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.582e-05/0.2264, allocations: 81.05 kB / 431.6 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.2264, allocations: 3.438 kB / 431.6 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/0.2265, allocations: 10.77 kB / 431.6 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.2266, allocations: 7.125 kB / 431.6 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.2266, allocations: 0 / 431.6 MB, free: 35.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.018e-05/0.2266, allocations: 86.56 kB / 431.7 MB, free: 35.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2266, allocations: 0 / 431.7 MB, free: 35.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.2269, allocations: 8.531 kB / 431.7 MB, free: 35.06 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.791e-05/0.2269, allocations: 104.1 kB / 431.8 MB, free: 34.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.2272, allocations: 59.47 kB / 431.8 MB, free: 34.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2272, allocations: 0 / 431.8 MB, free: 34.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9e-05/0.2273, allocations: 32.14 kB / 431.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.2275, allocations: 13.42 kB / 431.9 MB, free: 34.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.2278, allocations: 134.3 kB / 432 MB, free: 34.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.47e-05/0.2279, allocations: 0.6784 MB / 432.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.416e-05/0.2279, allocations: 6.031 kB / 432.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.228, allocations: 10.34 kB / 432.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.228, allocations: 0 / 432.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of Templates: time 0.0021/0.2301, allocations: 0.5329 MB / 433.2 MB, free: 34.07 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches