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.001128/0.001128, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001129/0.001129, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07176/0.07176, allocations: 16.74 MB / 307.9 MB, free: 14.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.06 kB / 373.1 MB, free: 49.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08287/0.08409, allocations: 53.57 MB / 426.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001585/0.08571, allocations: 0.6839 MB / 427.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001281/0.08585, allocations: 55.8 kB / 427.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.08588, allocations: 0 / 427.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.0859, allocations: 3.938 kB / 427.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.951e-05/0.08595, allocations: 4 kB / 427.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.928e-05/0.08604, allocations: 23.91 kB / 427.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.308e-05/0.0861, allocations: 23.98 kB / 427.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.171e-05/0.08616, allocations: 3.984 kB / 427.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.626e-05/0.08618, allocations: 11.94 kB / 427.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.916e-05/0.08622, allocations: 15.92 kB / 427.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.08624, allocations: 4 kB / 427.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.532e-06/0.08625, allocations: 4 kB / 427.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.08626, allocations: 7.922 kB / 427.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.6e-05/0.08628, allocations: 11.98 kB / 427.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.436e-05/0.08633, allocations: 27.91 kB / 427.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.08634, allocations: 0 / 427.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.08635, allocations: 4 kB / 427.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.08635, allocations: 0 / 427.6 MB, free: 11.24 MB / 302.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.000205/0.08656, allocations: 327.5 kB / 427.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 1.839e-05/0.08659, allocations: 8.031 kB / 427.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.665e-05/0.08661, allocations: 8.859 kB / 427.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.365e-05/0.08669, allocations: 164.4 kB / 428.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-06/0.0867, allocations: 4.375 kB / 428.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.08671, allocations: 4.375 kB / 428.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.08684, allocations: 80.92 kB / 428.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.918e-06/0.08685, allocations: 192 / 428.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.08686, allocations: 3.938 kB / 428.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-06/0.08687, allocations: 0 / 428.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.087, allocations: 39.91 kB / 428.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.08721, allocations: 273.7 kB / 428.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.08734, allocations: 81.12 kB / 428.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.161e-05/0.08742, allocations: 25.77 kB / 428.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.08744, allocations: 0 / 428.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.08746, allocations: 42.5 kB / 428.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.08747, allocations: 0 / 428.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002543/0.08772, allocations: 97.48 kB / 428.7 MB, free: 9.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.08776, allocations: 102.8 kB / 428.8 MB, free: 9.785 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.772e-05/0.0878, allocations: 97.84 kB / 428.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.08782, allocations: 33.7 kB / 428.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.888e-05/0.08784, allocations: 80.14 kB / 429 MB, free: 9.559 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.598e-06/0.08785, allocations: 4.156 kB / 429 MB, free: 9.555 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.08788, allocations: 21.72 kB / 429.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.427e-05/0.08792, allocations: 314.8 kB / 429.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/0.088, allocations: 24.84 kB / 429.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.59e-05/0.08807, allocations: 34.56 kB / 429.4 MB, free: 9.141 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.0882, allocations: 53.64 kB / 429.5 MB, free: 9.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.08821, allocations: 8 kB / 429.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001545/0.08836, allocations: 65.89 kB / 429.5 MB, free: 9.004 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/0.08838, allocations: 8.062 kB / 429.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.08839, allocations: 4 kB / 429.6 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.0884, allocations: 0 / 429.6 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/0.08847, allocations: 15.92 kB / 429.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.08849, allocations: 0 / 429.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.08854, allocations: 11.98 kB / 429.6 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.08855, allocations: 3.984 kB / 429.6 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.875e-05/0.0886, allocations: 93 kB / 429.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.426e-05/0.08864, allocations: 26.58 kB / 429.7 MB, free: 8.832 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.796e-05/0.08871, allocations: 25.7 kB / 429.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.08872, allocations: 4 kB / 429.7 MB, free: 8.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 9.203e-05/0.08881, allocations: 57.47 kB / 429.8 MB, free: 8.734 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.09e-06/0.08882, allocations: 10.66 kB / 429.8 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-06/0.08883, allocations: 96 / 429.8 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-06/0.08884, allocations: 11.88 kB / 429.8 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.083e-05/0.08887, allocations: 4 kB / 429.8 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-06/0.08888, allocations: 7.984 kB / 429.8 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.341e-05/0.08891, allocations: 8 kB / 429.8 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-06/0.08892, allocations: 0 / 429.8 MB, free: 8.695 MB / 302.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 3.538e-05/0.08896, allocations: 184.1 kB / 430 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.08899, allocations: 4 kB / 430 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.442e-05/0.08901, allocations: 7.125 kB / 430 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.08901, allocations: 4 kB / 430 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.08902, allocations: 4 kB / 430 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.08903, allocations: 3.984 kB / 430 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.08913, allocations: 161.6 kB / 430.2 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.08914, allocations: 0 / 430.2 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.239e-05/0.0892, allocations: 11.98 kB / 430.2 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.0892, allocations: 0 / 430.2 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-06/0.08921, allocations: 4 kB / 430.2 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.08922, allocations: 0 / 430.2 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.08922, allocations: 0 / 430.2 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.08938, allocations: 180.2 kB / 430.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.0894, allocations: 81.02 kB / 430.5 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.08942, allocations: 4 kB / 430.5 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.0895, allocations: 11.98 kB / 430.5 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.08953, allocations: 11.98 kB / 430.5 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.08954, allocations: 4 kB / 430.5 MB, free: 7.938 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.547e-05/0.08956, allocations: 75.28 kB / 430.6 MB, free: 7.863 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.08956, allocations: 0 / 430.6 MB, free: 7.863 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.08981, allocations: 15.94 kB / 430.6 MB, free: 7.848 MB / 302.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 4.89e-05/0.08986, allocations: 95.25 kB / 430.7 MB, free: 7.742 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.09006, allocations: 59.89 kB / 430.7 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.09007, allocations: 0 / 430.7 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.697e-05/0.09014, allocations: 19.98 kB / 430.7 MB, free: 7.664 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.09032, allocations: 11.92 kB / 430.8 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001975/0.09053, allocations: 122.2 kB / 430.9 MB, free: 7.504 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.977e-05/0.09061, allocations: 0.6729 MB / 431.6 MB, free: 6.805 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.159e-05/0.09064, allocations: 7.984 kB / 431.6 MB, free: 6.797 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.09067, allocations: 19.38 kB / 431.6 MB, free: 6.777 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09067, allocations: 0 / 431.6 MB, free: 6.777 MB / 302.1 MB Notification: Performance of Templates: time 0.03025/0.1209, allocations: 0.6259 MB / 432.2 MB, free: 6.152 MB / 302.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=480 -s cvode -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