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.00124/0.00124, 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: 193.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.231/1.231, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1632/0.1632, allocations: 16.78 MB / 307.2 MB, free: 14.82 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.89 kB / 371.7 MB, free: 3.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2417, allocations: 53.54 MB / 425.3 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001784/0.2436, allocations: 0.6756 MB / 426 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002024/0.2438, allocations: 60.03 kB / 426 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/0.2438, allocations: 3.438 kB / 426 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.2439, allocations: 3.938 kB / 426 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.568e-05/0.244, allocations: 3.938 kB / 426 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.2441, allocations: 16.12 kB / 426.1 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.15e-05/0.2442, allocations: 23.52 kB / 426.1 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.351e-05/0.2443, allocations: 10.02 kB / 426.1 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.2443, allocations: 7.609 kB / 426.1 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.429e-05/0.2444, allocations: 11.47 kB / 426.1 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.2444, allocations: 1.344 kB / 426.1 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.2444, allocations: 3.406 kB / 426.1 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.2444, allocations: 13.8 kB / 426.1 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.2444, allocations: 16.97 kB / 426.1 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.14e-05/0.2445, allocations: 12.89 kB / 426.2 MB, free: 39.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2445, allocations: 0 / 426.2 MB, free: 39.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2445, allocations: 0 / 426.2 MB, free: 39.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2445, allocations: 0 / 426.2 MB, free: 39.12 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.0003058/0.2448, allocations: 335.3 kB / 426.5 MB, free: 38.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.2449, allocations: 12.25 kB / 426.5 MB, free: 38.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.2449, allocations: 0.9375 kB / 426.5 MB, free: 38.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.245, allocations: 171.9 kB / 426.7 MB, free: 38.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.2451, allocations: 384 / 426.7 MB, free: 38.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.2451, allocations: 3.188 kB / 426.7 MB, free: 38.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.2452, allocations: 77.45 kB / 426.7 MB, free: 38.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2453, allocations: 192 / 426.7 MB, free: 38.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.2453, allocations: 8.438 kB / 426.7 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2453, allocations: 0 / 426.7 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.2454, allocations: 41.47 kB / 426.8 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.2457, allocations: 269.9 kB / 427 MB, free: 38.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.2459, allocations: 68.05 kB / 427.1 MB, free: 38.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.391e-05/0.246, allocations: 36.11 kB / 427.2 MB, free: 38.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.246, allocations: 2.938 kB / 427.2 MB, free: 38.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.246, allocations: 34.56 kB / 427.2 MB, free: 38.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.246, allocations: 0 / 427.2 MB, free: 38.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003152/0.2464, allocations: 98.03 kB / 427.3 MB, free: 38.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.2464, allocations: 106.8 kB / 427.4 MB, free: 37.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.86e-05/0.2465, allocations: 103.8 kB / 427.5 MB, free: 37.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.118e-06/0.2465, allocations: 25.7 kB / 427.5 MB, free: 37.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.42e-05/0.2465, allocations: 84.08 kB / 427.6 MB, free: 37.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.2465, allocations: 10.77 kB / 427.6 MB, free: 37.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.2465, allocations: 16.88 kB / 427.6 MB, free: 37.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.86e-05/0.2466, allocations: 314.1 kB / 427.9 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.871e-05/0.2467, allocations: 24.84 kB / 428 MB, free: 37.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.427e-05/0.2468, allocations: 36.08 kB / 428 MB, free: 37.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.2469, allocations: 56.91 kB / 428 MB, free: 37.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2469, allocations: 0 / 428 MB, free: 37.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001731/0.2471, allocations: 68.38 kB / 428.1 MB, free: 37.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.2471, allocations: 10.62 kB / 428.1 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2471, allocations: 0 / 428.1 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2471, allocations: 0.875 kB / 428.1 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.882e-05/0.2472, allocations: 11.31 kB / 428.1 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2472, allocations: 6.594 kB / 428.1 MB, free: 37.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.2473, allocations: 9.219 kB / 428.2 MB, free: 37.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.2473, allocations: 0 / 428.2 MB, free: 37.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.626e-05/0.2474, allocations: 92.14 kB / 428.2 MB, free: 37.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.003e-05/0.2474, allocations: 26.31 kB / 428.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.732e-05/0.2475, allocations: 29.45 kB / 428.3 MB, free: 37.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.52e-07/0.2475, allocations: 3.938 kB / 428.3 MB, free: 37.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001033/0.2476, allocations: 58.12 kB / 428.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.241e-06/0.2476, allocations: 5.781 kB / 428.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.2476, allocations: 4.344 kB / 428.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-06/0.2476, allocations: 3.938 kB / 428.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.157e-05/0.2477, allocations: 6 kB / 428.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-06/0.2477, allocations: 0 / 428.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.563e-05/0.2477, allocations: 14.39 kB / 428.4 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-06/0.2477, allocations: 0 / 428.4 MB, free: 37.1 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.476e-05/0.2478, allocations: 187.1 kB / 428.6 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.2478, allocations: 2.938 kB / 428.6 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.716e-05/0.2478, allocations: 3.125 kB / 428.6 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2478, allocations: 3.938 kB / 428.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2478, allocations: 3.031 kB / 428.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.2478, allocations: 3.844 kB / 428.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.248, allocations: 165.5 kB / 428.7 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.248, allocations: 7.125 kB / 428.8 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.056e-05/0.248, allocations: 9.484 kB / 428.8 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.248, allocations: 2.906 kB / 428.8 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.248, allocations: 0 / 428.8 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.248, allocations: 0 / 428.8 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2481, allocations: 2.906 kB / 428.8 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.2482, allocations: 180.1 kB / 428.9 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.2483, allocations: 81.02 kB / 429 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.2483, allocations: 0 / 429 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.2484, allocations: 9.188 kB / 429 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.2484, allocations: 9.844 kB / 429 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.2484, allocations: 0 / 429 MB, free: 36.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.881e-05/0.2484, allocations: 78.09 kB / 429.1 MB, free: 36.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2484, allocations: 4 kB / 429.1 MB, free: 36.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.2487, allocations: 8.812 kB / 429.1 MB, free: 36.39 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.379e-05/0.2488, allocations: 96.97 kB / 429.2 MB, free: 36.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.249, allocations: 56.59 kB / 429.3 MB, free: 36.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.249, allocations: 0 / 429.3 MB, free: 36.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.842e-05/0.2491, allocations: 26.64 kB / 429.3 MB, free: 36.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.2493, allocations: 16.56 kB / 429.3 MB, free: 36.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.2496, allocations: 116.4 kB / 429.4 MB, free: 36.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.862e-05/0.2497, allocations: 0.6778 MB / 430.1 MB, free: 35.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.001e-05/0.2498, allocations: 11.95 kB / 430.1 MB, free: 35.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.2498, allocations: 13.94 kB / 430.1 MB, free: 35.47 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2498, allocations: 0 / 430.1 MB, free: 35.47 MB / 350.1 MB Notification: Performance of Templates: time 0.002337/0.2522, allocations: 0.6145 MB / 430.8 MB, free: 35.41 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=50 -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