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.001283/0.001283, allocations: 108 kB / 15.61 MB, free: 152 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.001331/0.001331, allocations: 196.8 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2327/0.2327, allocations: 16.68 MB / 307.1 MB, free: 14.93 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 68.08 kB / 371.7 MB, free: 3.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3315, allocations: 53.53 MB / 425.2 MB, free: 39.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001897/0.3334, allocations: 0.666 MB / 425.8 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002514/0.3337, allocations: 65.64 kB / 425.9 MB, free: 38.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.3338, allocations: 1.094 kB / 425.9 MB, free: 38.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.3338, allocations: 2.969 kB / 425.9 MB, free: 38.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.51e-05/0.3339, allocations: 9.781 kB / 425.9 MB, free: 38.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.3341, allocations: 13.16 kB / 425.9 MB, free: 38.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.323e-05/0.3341, allocations: 30.09 kB / 426 MB, free: 38.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3343, allocations: 6.719 kB / 426 MB, free: 38.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.838e-05/0.3343, allocations: 17.73 kB / 426 MB, free: 38.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.3344, allocations: 10.56 kB / 426 MB, free: 38.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.3344, allocations: 2.812 kB / 426 MB, free: 38.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.487e-06/0.3344, allocations: 7 kB / 426 MB, free: 38.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.3344, allocations: 7.078 kB / 426 MB, free: 38.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.3345, allocations: 16.33 kB / 426 MB, free: 38.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.124e-05/0.3345, allocations: 13.06 kB / 426 MB, free: 38.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.3345, allocations: 0 / 426 MB, free: 38.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3345, allocations: 0 / 426 MB, free: 38.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3346, allocations: 0 / 426 MB, free: 38.84 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.0003451/0.3349, allocations: 342.3 kB / 426.4 MB, free: 38.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.3349, allocations: 12.44 kB / 426.4 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.335, allocations: 3.906 kB / 426.4 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.3351, allocations: 170.1 kB / 426.6 MB, free: 38.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-06/0.3351, allocations: 1.688 kB / 426.6 MB, free: 38.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.3351, allocations: 384 / 426.6 MB, free: 38.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.3353, allocations: 78.97 kB / 426.6 MB, free: 38.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.3353, allocations: 192 / 426.6 MB, free: 38.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3353, allocations: 3.938 kB / 426.6 MB, free: 38.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3354, allocations: 0 / 426.6 MB, free: 38.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.3355, allocations: 45.03 kB / 426.7 MB, free: 38.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.3358, allocations: 273.8 kB / 427 MB, free: 37.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.336, allocations: 68.81 kB / 427 MB, free: 37.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.507e-05/0.3361, allocations: 35.33 kB / 427.1 MB, free: 37.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.3361, allocations: 4 kB / 427.1 MB, free: 37.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.3361, allocations: 36.67 kB / 427.1 MB, free: 37.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3361, allocations: 0 / 427.1 MB, free: 37.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003303/0.3365, allocations: 92.83 kB / 427.2 MB, free: 37.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.3365, allocations: 109.9 kB / 427.3 MB, free: 37.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.554e-05/0.3366, allocations: 103.5 kB / 427.4 MB, free: 37.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.3366, allocations: 25.7 kB / 427.4 MB, free: 37.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.627e-05/0.3366, allocations: 86.98 kB / 427.5 MB, free: 37.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.3366, allocations: 6.594 kB / 427.5 MB, free: 37.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.3367, allocations: 19.05 kB / 427.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.3367, allocations: 313.4 kB / 427.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.894e-05/0.3368, allocations: 29.11 kB / 427.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.794e-05/0.3369, allocations: 37.53 kB / 427.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.3371, allocations: 47.69 kB / 428 MB, free: 37.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3371, allocations: 7.281 kB / 428 MB, free: 37.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001849/0.3373, allocations: 76.09 kB / 428 MB, free: 37.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3373, allocations: 6.344 kB / 428 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3373, allocations: 0 / 428 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3373, allocations: 2.844 kB / 428 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/0.3374, allocations: 9.109 kB / 428 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3374, allocations: 2.969 kB / 428.1 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.198e-05/0.3375, allocations: 10.34 kB / 428.1 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-06/0.3375, allocations: 3.031 kB / 428.1 MB, free: 37.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.6e-05/0.3376, allocations: 89.39 kB / 428.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.067e-05/0.3376, allocations: 28.12 kB / 428.2 MB, free: 36.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.361e-05/0.3377, allocations: 28.78 kB / 428.2 MB, free: 36.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.91e-07/0.3377, allocations: 4.031 kB / 428.2 MB, free: 36.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001066/0.3378, allocations: 63.08 kB / 428.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.5e-06/0.3378, allocations: 5.938 kB / 428.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-06/0.3378, allocations: 0 / 428.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-06/0.3378, allocations: 6.906 kB / 428.3 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.331e-05/0.3379, allocations: 2.906 kB / 428.3 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.853e-06/0.3379, allocations: 2.906 kB / 428.3 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.765e-05/0.3379, allocations: 6.797 kB / 428.3 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-06/0.3379, allocations: 4.062 kB / 428.3 MB, free: 36.83 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.211e-05/0.338, allocations: 183.1 kB / 428.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.338, allocations: 3.953 kB / 428.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.248e-05/0.3381, allocations: 6 kB / 428.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3381, allocations: 0 / 428.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3381, allocations: 3.719 kB / 428.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3381, allocations: 0 / 428.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.3382, allocations: 165.6 kB / 428.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3382, allocations: 0 / 428.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.3383, allocations: 15.03 kB / 428.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.3383, allocations: 0 / 428.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3383, allocations: 0 / 428.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3383, allocations: 8.719 kB / 428.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3383, allocations: 3.938 kB / 428.7 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.3385, allocations: 180.8 kB / 428.9 MB, free: 36.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.3385, allocations: 83.7 kB / 428.9 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.3386, allocations: 0 / 428.9 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.3386, allocations: 8.734 kB / 429 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.3387, allocations: 5.938 kB / 429 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.3387, allocations: 3.938 kB / 429 MB, free: 36.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.224e-05/0.3387, allocations: 81.06 kB / 429 MB, free: 36.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3387, allocations: 0 / 429 MB, free: 36.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.339, allocations: 7.375 kB / 429 MB, free: 36.12 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 6.894e-05/0.3391, allocations: 101.8 kB / 429.1 MB, free: 36.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.3393, allocations: 53.16 kB / 429.2 MB, free: 36.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3393, allocations: 0 / 429.2 MB, free: 36.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.227e-05/0.3394, allocations: 29.67 kB / 429.2 MB, free: 36.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.3396, allocations: 19.41 kB / 429.2 MB, free: 36.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.34, allocations: 120.5 kB / 429.4 MB, free: 35.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.9e-05/0.3401, allocations: 0.6787 MB / 430 MB, free: 35.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.651e-05/0.3401, allocations: 4 kB / 430 MB, free: 35.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.3402, allocations: 17.73 kB / 430.1 MB, free: 35.2 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3402, allocations: 0 / 430.1 MB, free: 35.2 MB / 350.1 MB Notification: Performance of Templates: time 0.002789/0.343, allocations: 0.6333 MB / 430.7 MB, free: 35.14 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