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.001206/0.001206, allocations: 108 kB / 15.61 MB, free: 148 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.001198/0.001198, allocations: 193.9 kB / 16.53 MB, free: 6.664 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: 222.9 MB / 240.2 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1666/0.1666, allocations: 16.79 MB / 307.2 MB, free: 14.8 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.91 kB / 371.8 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.228, allocations: 53.54 MB / 425.3 MB, free: 39.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001727/0.2297, allocations: 0.6741 MB / 426 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002092/0.23, allocations: 63.53 kB / 426 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.23, allocations: 0 / 426 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.213e-05/0.23, allocations: 3.938 kB / 426 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.336e-05/0.2301, allocations: 0 / 426 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.2303, allocations: 22.48 kB / 426.1 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.981e-05/0.2304, allocations: 25.53 kB / 426.1 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.685e-05/0.2305, allocations: 9.984 kB / 426.1 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.775e-05/0.2305, allocations: 15.44 kB / 426.1 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.922e-05/0.2305, allocations: 13.75 kB / 426.1 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.2306, allocations: 4.219 kB / 426.1 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.2306, allocations: 2.25 kB / 426.1 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.2306, allocations: 7.078 kB / 426.1 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.2306, allocations: 16.59 kB / 426.1 MB, free: 39.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.595e-05/0.2307, allocations: 21.56 kB / 426.2 MB, free: 39.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2307, allocations: 0 / 426.2 MB, free: 39.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.2307, allocations: 0 / 426.2 MB, free: 39.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.207e-06/0.2307, allocations: 0 / 426.2 MB, free: 39.03 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.0003101/0.231, allocations: 338.2 kB / 426.5 MB, free: 38.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.2311, allocations: 9.719 kB / 426.5 MB, free: 38.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.2311, allocations: 0.9375 kB / 426.5 MB, free: 38.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2312, allocations: 167.4 kB / 426.7 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-06/0.2312, allocations: 6.625 kB / 426.7 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.2312, allocations: 5.906 kB / 426.7 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.2314, allocations: 76.77 kB / 426.8 MB, free: 38.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.2314, allocations: 192 / 426.8 MB, free: 38.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.2314, allocations: 7.938 kB / 426.8 MB, free: 38.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2314, allocations: 6.688 kB / 426.8 MB, free: 38.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.2316, allocations: 32.64 kB / 426.8 MB, free: 38.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.2319, allocations: 270.1 kB / 427.1 MB, free: 38.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.232, allocations: 73.64 kB / 427.1 MB, free: 38.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.384e-05/0.2321, allocations: 34.06 kB / 427.2 MB, free: 38.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.2321, allocations: 3.938 kB / 427.2 MB, free: 38.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.2322, allocations: 41.02 kB / 427.2 MB, free: 38.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2322, allocations: 0 / 427.2 MB, free: 38.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003119/0.2325, allocations: 92.81 kB / 427.3 MB, free: 37.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.2325, allocations: 110.1 kB / 427.4 MB, free: 37.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.471e-05/0.2326, allocations: 101 kB / 427.5 MB, free: 37.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.2326, allocations: 25.7 kB / 427.5 MB, free: 37.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.291e-05/0.2326, allocations: 87.55 kB / 427.6 MB, free: 37.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.2326, allocations: 10.72 kB / 427.6 MB, free: 37.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.2327, allocations: 12.47 kB / 427.7 MB, free: 37.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.743e-05/0.2327, allocations: 313.6 kB / 428 MB, free: 37.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.847e-05/0.2328, allocations: 23.98 kB / 428 MB, free: 37.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.47e-05/0.2329, allocations: 38.34 kB / 428 MB, free: 37.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.233, allocations: 52.64 kB / 428.1 MB, free: 37.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.233, allocations: 0 / 428.1 MB, free: 37.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001747/0.2332, allocations: 76.16 kB / 428.1 MB, free: 37.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.2332, allocations: 5.75 kB / 428.1 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2332, allocations: 0 / 428.1 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2332, allocations: 0 / 428.1 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.147e-05/0.2333, allocations: 14.66 kB / 428.2 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2333, allocations: 2.438 kB / 428.2 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.141e-05/0.2334, allocations: 11.84 kB / 428.2 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.2334, allocations: 5.281 kB / 428.2 MB, free: 37.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.443e-05/0.2335, allocations: 91.08 kB / 428.3 MB, free: 37.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.938e-05/0.2335, allocations: 25.27 kB / 428.3 MB, free: 37.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.65e-05/0.2336, allocations: 27.3 kB / 428.3 MB, free: 37.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.61e-07/0.2336, allocations: 0 / 428.3 MB, free: 37.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001024/0.2337, allocations: 65.95 kB / 428.4 MB, free: 37.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.2337, allocations: 7.062 kB / 428.4 MB, free: 37.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-06/0.2337, allocations: 3.938 kB / 428.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-06/0.2337, allocations: 0 / 428.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.365e-05/0.2338, allocations: 5.281 kB / 428.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-06/0.2338, allocations: 2.625 kB / 428.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.648e-05/0.2338, allocations: 6.203 kB / 428.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-06/0.2338, allocations: 3.938 kB / 428.4 MB, free: 37.02 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.119e-05/0.2339, allocations: 194.9 kB / 428.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.2339, allocations: 3.031 kB / 428.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.876e-05/0.2339, allocations: 3.125 kB / 428.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2339, allocations: 0 / 428.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2339, allocations: 2.781 kB / 428.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2339, allocations: 4.547 kB / 428.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.2341, allocations: 163.7 kB / 428.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2341, allocations: 0 / 428.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.503e-05/0.2341, allocations: 8.844 kB / 428.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2341, allocations: 7.375 kB / 428.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.2341, allocations: 3.75 kB / 428.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2341, allocations: 6.75 kB / 428.8 MB, free: 36.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2342, allocations: 0 / 428.8 MB, free: 36.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.2343, allocations: 172.7 kB / 429 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.2344, allocations: 91.02 kB / 429.1 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.2344, allocations: 0 / 429.1 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.2345, allocations: 9.109 kB / 429.1 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.2345, allocations: 2.969 kB / 429.1 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.2345, allocations: 1.078 kB / 429.1 MB, free: 36.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.016e-05/0.2345, allocations: 83.7 kB / 429.2 MB, free: 36.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2345, allocations: 0 / 429.2 MB, free: 36.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.2348, allocations: 8.969 kB / 429.2 MB, free: 36.31 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.717e-05/0.2349, allocations: 99.12 kB / 429.3 MB, free: 36.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002352/0.2351, allocations: 55.83 kB / 429.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2351, allocations: 0 / 429.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/0.2352, allocations: 21.78 kB / 429.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.2354, allocations: 11.19 kB / 429.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.2357, allocations: 130 kB / 429.5 MB, free: 36.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.526e-05/0.2358, allocations: 0.675 MB / 430.2 MB, free: 35.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.331e-05/0.2358, allocations: 12.91 kB / 430.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.2358, allocations: 10.34 kB / 430.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of SimCode: time 1.81e-07/0.2358, allocations: 0 / 430.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of Templates: time 0.0021/0.2379, allocations: 0.6502 MB / 430.8 MB, free: 35.32 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