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.001519/0.001524, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001445/0.001445, allocations: 190.9 kB / 16.25 MB, free: 6.582 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.425/1.425, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1943/0.1943, allocations: 16.79 MB / 306.9 MB, free: 15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 68.09 kB / 371.3 MB, free: 3.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3438, allocations: 53.55 MB / 424.8 MB, free: 39.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001951/0.3458, allocations: 0.7292 MB / 425.6 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002112/0.346, allocations: 56.39 kB / 425.6 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.3461, allocations: 0 / 425.6 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.3461, allocations: 0 / 425.6 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.809e-05/0.3462, allocations: 6.25 kB / 425.6 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.3464, allocations: 19.3 kB / 425.6 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.005e-05/0.3464, allocations: 24.16 kB / 425.7 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.016e-05/0.3465, allocations: 6.047 kB / 425.7 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.849e-05/0.3466, allocations: 16.72 kB / 425.7 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.593e-05/0.3466, allocations: 8.359 kB / 425.7 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.3466, allocations: 0 / 425.7 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-06/0.3467, allocations: 3.438 kB / 425.7 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.3467, allocations: 6.188 kB / 425.7 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.3467, allocations: 9.859 kB / 425.7 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7e-05/0.3468, allocations: 23.11 kB / 425.7 MB, free: 39.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3468, allocations: 3.562 kB / 425.7 MB, free: 39.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3468, allocations: 0 / 425.7 MB, free: 39.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.3468, allocations: 0 / 425.7 MB, free: 39.09 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.0003285/0.3471, allocations: 342.2 kB / 426.1 MB, free: 38.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3472, allocations: 9.594 kB / 426.1 MB, free: 38.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.3472, allocations: 1.625 kB / 426.1 MB, free: 38.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.3473, allocations: 169.8 kB / 426.2 MB, free: 38.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.3474, allocations: 3.281 kB / 426.2 MB, free: 38.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.3474, allocations: 0.875 kB / 426.3 MB, free: 38.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.3475, allocations: 73.78 kB / 426.3 MB, free: 38.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3476, allocations: 192 / 426.3 MB, free: 38.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3476, allocations: 3.938 kB / 426.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3476, allocations: 7.781 kB / 426.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.3477, allocations: 39.39 kB / 426.4 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.348, allocations: 270.5 kB / 426.6 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.3482, allocations: 73.02 kB / 426.7 MB, free: 38.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.528e-05/0.3483, allocations: 33.11 kB / 426.7 MB, free: 38.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.3483, allocations: 0 / 426.7 MB, free: 38.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.3484, allocations: 34.56 kB / 426.8 MB, free: 38.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.904e-06/0.3484, allocations: 2.969 kB / 426.8 MB, free: 38.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003162/0.3487, allocations: 87.67 kB / 426.9 MB, free: 38.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.3487, allocations: 114 kB / 427 MB, free: 37.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.266e-05/0.3488, allocations: 101.2 kB / 427.1 MB, free: 37.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.3488, allocations: 28.27 kB / 427.1 MB, free: 37.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.3489, allocations: 84.08 kB / 427.2 MB, free: 37.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.3489, allocations: 13.84 kB / 427.2 MB, free: 37.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.3489, allocations: 13.09 kB / 427.2 MB, free: 37.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.533e-05/0.349, allocations: 314.2 kB / 427.5 MB, free: 37.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.136e-05/0.3491, allocations: 25.81 kB / 427.5 MB, free: 37.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.793e-05/0.3491, allocations: 33.94 kB / 427.6 MB, free: 37.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.3493, allocations: 49.14 kB / 427.6 MB, free: 37.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3493, allocations: 4.031 kB / 427.6 MB, free: 37.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001755/0.3495, allocations: 73.3 kB / 427.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3495, allocations: 5.688 kB / 427.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3495, allocations: 0 / 427.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3495, allocations: 3 kB / 427.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.743e-05/0.3496, allocations: 9.703 kB / 427.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3496, allocations: 0.9375 kB / 427.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.121e-05/0.3497, allocations: 16.09 kB / 427.7 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.3497, allocations: 0 / 427.7 MB, free: 37.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.293e-05/0.3498, allocations: 94.59 kB / 427.8 MB, free: 37.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.974e-05/0.3498, allocations: 23.95 kB / 427.8 MB, free: 37.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.12e-05/0.3499, allocations: 30.92 kB / 427.9 MB, free: 37.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.61e-07/0.3499, allocations: 4.031 kB / 427.9 MB, free: 37.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001054/0.35, allocations: 64.17 kB / 427.9 MB, free: 37.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.66e-06/0.35, allocations: 5.469 kB / 428 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-06/0.35, allocations: 0 / 428 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-06/0.35, allocations: 6.688 kB / 428 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.197e-05/0.3501, allocations: 13.02 kB / 428 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-06/0.3501, allocations: 0 / 428 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.3501, allocations: 2.812 kB / 428 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-06/0.3501, allocations: 2.906 kB / 428 MB, free: 37.12 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.92e-05/0.3502, allocations: 184.2 kB / 428.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.3502, allocations: 6.594 kB / 428.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.3502, allocations: 6.219 kB / 428.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3502, allocations: 2.938 kB / 428.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3503, allocations: 0 / 428.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3503, allocations: 0 / 428.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.3504, allocations: 164.9 kB / 428.3 MB, free: 36.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3504, allocations: 0 / 428.3 MB, free: 36.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-05/0.3505, allocations: 17.48 kB / 428.3 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3505, allocations: 0 / 428.3 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3505, allocations: 0.75 kB / 428.3 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3505, allocations: 3.344 kB / 428.4 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3505, allocations: 0 / 428.4 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.3507, allocations: 179.2 kB / 428.5 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.3507, allocations: 81.02 kB / 428.6 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.3507, allocations: 0 / 428.6 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.3508, allocations: 10.42 kB / 428.6 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.3509, allocations: 13.31 kB / 428.6 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.3509, allocations: 0 / 428.6 MB, free: 36.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.182e-05/0.3509, allocations: 78.06 kB / 428.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3509, allocations: 0 / 428.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.3512, allocations: 11.72 kB / 428.7 MB, free: 36.41 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 7.837e-05/0.3513, allocations: 102.1 kB / 428.8 MB, free: 36.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.3515, allocations: 55.95 kB / 428.9 MB, free: 36.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3515, allocations: 0 / 428.9 MB, free: 36.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.59e-05/0.3516, allocations: 20.42 kB / 428.9 MB, free: 36.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.3518, allocations: 19.94 kB / 428.9 MB, free: 36.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.3521, allocations: 125.3 kB / 429 MB, free: 36.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.3523, allocations: 0.6817 MB / 429.7 MB, free: 35.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.281e-05/0.3523, allocations: 4 kB / 429.7 MB, free: 35.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.3524, allocations: 11.28 kB / 429.7 MB, free: 35.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3524, allocations: 3.938 kB / 429.7 MB, free: 35.48 MB / 350.1 MB Notification: Performance of Templates: time 0.002551/0.3549, allocations: 0.5525 MB / 430.3 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