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.0008997/0.0009031, allocations: 92.16 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.001084/0.001084, allocations: 172.2 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.275/1.275, allocations: 223.3 MB / 241 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.1698/0.1698, allocations: 16.76 MB / 308.8 MB, free: 15.56 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002753/0.0002753, allocations: 8 kB / 374.2 MB, free: 3.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2185, allocations: 54.55 MB / 428.7 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.0006338/0.2192, allocations: 416 kB / 429.1 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001555/0.2194, allocations: 54.34 kB / 429.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.2194, allocations: 0 / 429.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.2194, allocations: 4.469 kB / 429.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.344e-05/0.2195, allocations: 7.359 kB / 429.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.2196, allocations: 11.03 kB / 429.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.099e-05/0.2197, allocations: 20.98 kB / 429.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.5e-05/0.2197, allocations: 9.641 kB / 429.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.225e-05/0.2198, allocations: 6.422 kB / 429.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.265e-05/0.2198, allocations: 14.17 kB / 429.3 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.2198, allocations: 4.062 kB / 429.3 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.452e-06/0.2199, allocations: 0 / 429.3 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.2199, allocations: 4.594 kB / 429.3 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.2199, allocations: 36.12 kB / 429.3 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.341e-05/0.22, allocations: 12.25 kB / 429.3 MB, free: 37.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.22, allocations: 5.062 kB / 429.3 MB, free: 37.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.22, allocations: 0 / 429.3 MB, free: 37.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.22, allocations: 0 / 429.3 MB, free: 37.69 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.0002694/0.2203, allocations: 339.1 kB / 429.7 MB, free: 37.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.2203, allocations: 7.438 kB / 429.7 MB, free: 37.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.2203, allocations: 7.688 kB / 429.7 MB, free: 37.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.719e-05/0.2204, allocations: 166.6 kB / 429.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.2204, allocations: 6.953 kB / 429.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.2205, allocations: 1.031 kB / 429.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.2206, allocations: 79.56 kB / 429.9 MB, free: 37.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.2206, allocations: 1.062 kB / 429.9 MB, free: 37.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2207, allocations: 3.938 kB / 429.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.2207, allocations: 1.688 kB / 429.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.2208, allocations: 43.84 kB / 430 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002597/0.2211, allocations: 276.3 kB / 430.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.2213, allocations: 80.61 kB / 430.3 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.005e-05/0.2214, allocations: 31.81 kB / 430.3 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.2214, allocations: 6.297 kB / 430.3 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.37e-05/0.2214, allocations: 34.5 kB / 430.4 MB, free: 36.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2214, allocations: 0 / 430.4 MB, free: 36.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003351/0.2218, allocations: 102.7 kB / 430.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.2218, allocations: 106 kB / 430.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.028e-05/0.2219, allocations: 98.33 kB / 430.7 MB, free: 36.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.2219, allocations: 32.08 kB / 430.7 MB, free: 36.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.15e-05/0.2219, allocations: 90.98 kB / 430.8 MB, free: 36.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.2219, allocations: 7.844 kB / 430.8 MB, free: 36.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.2219, allocations: 16.19 kB / 430.8 MB, free: 36.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.438e-05/0.222, allocations: 310.8 kB / 431.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/0.2221, allocations: 26.09 kB / 431.2 MB, free: 35.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/0.2222, allocations: 40.05 kB / 431.2 MB, free: 35.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.2223, allocations: 58.27 kB / 431.3 MB, free: 35.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2223, allocations: 0 / 431.3 MB, free: 35.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001913/0.2225, allocations: 80.64 kB / 431.3 MB, free: 35.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.2226, allocations: 102.7 kB / 431.4 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2226, allocations: 6.969 kB / 431.4 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.2226, allocations: 3.156 kB / 431.4 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.162e-05/0.2227, allocations: 16.11 kB / 431.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2227, allocations: 0 / 431.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.641e-05/0.2227, allocations: 16.97 kB / 431.5 MB, free: 35.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.2228, allocations: 0 / 431.5 MB, free: 35.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.16e-06/0.2228, allocations: 3.719 kB / 431.5 MB, free: 35.76 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.594e-05/0.2229, allocations: 23.81 kB / 431.5 MB, free: 35.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-06/0.2229, allocations: 0 / 431.5 MB, free: 35.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-06/0.2229, allocations: 1.281 kB / 431.5 MB, free: 35.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.324e-05/0.2229, allocations: 11.89 kB / 431.5 MB, free: 35.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-06/0.2229, allocations: 0.9062 kB / 431.5 MB, free: 35.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.417e-05/0.223, allocations: 10.88 kB / 431.5 MB, free: 35.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-06/0.223, allocations: 2.688 kB / 431.5 MB, free: 35.75 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.545e-05/0.223, allocations: 184.8 kB / 431.7 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.223, allocations: 7.844 kB / 431.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.785e-05/0.2231, allocations: 10.91 kB / 431.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2231, allocations: 3.719 kB / 431.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2231, allocations: 0 / 431.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2231, allocations: 288 / 431.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.2232, allocations: 161 kB / 431.9 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2232, allocations: 4.562 kB / 431.9 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.779e-05/0.2233, allocations: 12.75 kB / 431.9 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2233, allocations: 10.12 kB / 431.9 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.2233, allocations: 4 kB / 431.9 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.2233, allocations: 0 / 431.9 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2233, allocations: 0 / 431.9 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.2235, allocations: 185 kB / 432.1 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.505e-05/0.2235, allocations: 84.33 kB / 432.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.2235, allocations: 3.438 kB / 432.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.079e-05/0.2236, allocations: 9.016 kB / 432.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.2237, allocations: 6.938 kB / 432.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.2237, allocations: 0 / 432.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.938e-05/0.2237, allocations: 89.69 kB / 432.3 MB, free: 35.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.2237, allocations: 0 / 432.3 MB, free: 35.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.224, allocations: 9.625 kB / 432.3 MB, free: 35.02 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.372e-05/0.224, allocations: 98.02 kB / 432.4 MB, free: 34.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.2243, allocations: 67.38 kB / 432.5 MB, free: 34.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2243, allocations: 0 / 432.5 MB, free: 34.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.876e-05/0.2244, allocations: 28.61 kB / 432.5 MB, free: 34.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.2246, allocations: 13.66 kB / 432.5 MB, free: 34.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.2249, allocations: 159.6 kB / 432.7 MB, free: 34.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.536e-05/0.225, allocations: 0.6752 MB / 433.3 MB, free: 34.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.225, allocations: 10.38 kB / 433.3 MB, free: 34.06 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.225, allocations: 0 / 433.3 MB, free: 34.06 MB / 350.1 MB Notification: Performance of Templates: time 0.001502/0.2265, allocations: 0.6227 MB / 434 MB, free: 34.02 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