Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_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_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.01081/0.01081, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.0025/0.0025, allocations: 195.5 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.235/1.235, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05894/0.05894, allocations: 14.17 MB / 284.1 MB, free: 13.86 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 77.75 kB / 396.5 MB, free: 43.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08048/0.08177, allocations: 50.13 MB / 446.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001722/0.08353, allocations: 0.682 MB / 447.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000213/0.08375, allocations: 60.14 kB / 447.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.0838, allocations: 0 / 447.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.08384, allocations: 7.922 kB / 447.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.511e-05/0.08392, allocations: 4 kB / 447.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.08406, allocations: 15.92 kB / 447.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.082e-05/0.08416, allocations: 27.92 kB / 447.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.003e-05/0.08426, allocations: 4 kB / 447.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.81e-05/0.08429, allocations: 15.97 kB / 447.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.08435, allocations: 15.92 kB / 447.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.08437, allocations: 4 kB / 447.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-06/0.08439, allocations: 7.938 kB / 447.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.08441, allocations: 4 kB / 447.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.08444, allocations: 11.92 kB / 447.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.063e-05/0.08451, allocations: 19.92 kB / 447.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.08452, allocations: 0 / 447.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.08453, allocations: 0 / 447.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.08454, allocations: 4 kB / 447.5 MB, free: 12.79 MB / 334.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.0003801/0.08493, allocations: 335.5 kB / 447.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.08498, allocations: 8.031 kB / 447.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.08501, allocations: 0.9375 kB / 447.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.08517, allocations: 176.3 kB / 448 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.08518, allocations: 384 / 448 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.0852, allocations: 4.375 kB / 448 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.08539, allocations: 76.75 kB / 448.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.0854, allocations: 192 / 448.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.08542, allocations: 7.938 kB / 448.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.08543, allocations: 0 / 448.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.08558, allocations: 35.95 kB / 448.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.08592, allocations: 273.7 kB / 448.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.0861, allocations: 73.16 kB / 448.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.752e-05/0.0862, allocations: 29.77 kB / 448.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.08623, allocations: 3.938 kB / 448.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.08626, allocations: 42.5 kB / 448.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.08627, allocations: 0 / 448.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003251/0.0866, allocations: 89.58 kB / 448.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.08666, allocations: 103.1 kB / 448.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.7e-05/0.08674, allocations: 101.9 kB / 448.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.08675, allocations: 25.7 kB / 448.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.0868, allocations: 88.12 kB / 448.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.08682, allocations: 15.75 kB / 448.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.08685, allocations: 13.72 kB / 449 MB, free: 11.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.08695, allocations: 310.8 kB / 449.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.146e-05/0.08705, allocations: 32.83 kB / 449.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.703e-05/0.08713, allocations: 34.56 kB / 449.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.08727, allocations: 45.62 kB / 449.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.08728, allocations: 4.031 kB / 449.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001761/0.08746, allocations: 77.59 kB / 449.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.08748, allocations: 11.94 kB / 449.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.08749, allocations: 0 / 449.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.08751, allocations: 0 / 449.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.102e-05/0.0876, allocations: 15.92 kB / 449.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.08761, allocations: 0 / 449.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.061e-05/0.08767, allocations: 16.33 kB / 449.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.08768, allocations: 0 / 449.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.55e-05/0.08775, allocations: 84.14 kB / 449.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.702e-05/0.0878, allocations: 34.55 kB / 449.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.533e-05/0.08788, allocations: 21.72 kB / 449.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.876e-06/0.08789, allocations: 8.016 kB / 449.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001196/0.08801, allocations: 57.56 kB / 449.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.08803, allocations: 8 kB / 449.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-06/0.08803, allocations: 0 / 449.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-06/0.08804, allocations: 0 / 449.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.268e-05/0.08808, allocations: 4 kB / 449.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.08808, allocations: 4 kB / 449.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.526e-05/0.08812, allocations: 7.984 kB / 449.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-06/0.08813, allocations: 0 / 449.7 MB, free: 10.25 MB / 334.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 7.242e-05/0.08821, allocations: 184.3 kB / 449.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.08825, allocations: 19.84 kB / 449.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.08827, allocations: 7.078 kB / 449.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.08828, allocations: 0 / 449.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.08829, allocations: 0 / 449.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.08829, allocations: 4 kB / 449.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.08844, allocations: 165.6 kB / 450.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.08845, allocations: 3.938 kB / 450.1 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.08851, allocations: 11.98 kB / 450.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.08852, allocations: 4 kB / 450.1 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.08854, allocations: 4 kB / 450.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.08854, allocations: 0 / 450.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.08855, allocations: 0 / 450.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.08876, allocations: 176.3 kB / 450.3 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.08881, allocations: 77.11 kB / 450.4 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.08883, allocations: 7.938 kB / 450.4 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.0889, allocations: 11.92 kB / 450.4 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.08895, allocations: 0 / 450.4 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.08896, allocations: 4 kB / 450.4 MB, free: 9.492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.537e-05/0.089, allocations: 83.27 kB / 450.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.089, allocations: 0 / 450.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000252/0.08926, allocations: 8 kB / 450.5 MB, free: 9.402 MB / 334.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 8.575e-05/0.08935, allocations: 95.25 kB / 450.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.08959, allocations: 59.89 kB / 450.6 MB, free: 9.238 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.0896, allocations: 0 / 450.6 MB, free: 9.238 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.647e-05/0.08968, allocations: 19.98 kB / 450.6 MB, free: 9.219 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.0899, allocations: 13.25 kB / 450.7 MB, free: 9.207 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.09021, allocations: 131.7 kB / 450.8 MB, free: 9.051 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.09045, allocations: 0.6768 MB / 451.5 MB, free: 8.348 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.096e-05/0.0905, allocations: 4 kB / 451.5 MB, free: 8.344 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.09053, allocations: 11.44 kB / 451.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09054, allocations: 0 / 451.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of Templates: time 0.002593/0.09314, allocations: 0.6507 MB / 452.1 MB, free: 7.688 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches