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.001577/0.001577, allocations: 104.3 kB / 16.35 MB, free: 6.289 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.001676/0.001676, allocations: 192.7 kB / 17.29 MB, free: 5.863 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07488/0.07488, allocations: 16.75 MB / 307.9 MB, free: 14.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 62.05 kB / 373.1 MB, free: 48.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08145/0.0827, allocations: 53.57 MB / 426.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001719/0.08446, allocations: 0.6719 MB / 427.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001997/0.08467, allocations: 59.8 kB / 427.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.08472, allocations: 0 / 427.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.08475, allocations: 7.875 kB / 427.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.938e-05/0.08483, allocations: 3.938 kB / 427.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.08497, allocations: 23.91 kB / 427.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.143e-05/0.08506, allocations: 27.97 kB / 427.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.161e-05/0.08516, allocations: 4 kB / 427.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.595e-05/0.08519, allocations: 8 kB / 427.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.217e-05/0.08525, allocations: 27.84 kB / 427.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.08527, allocations: 0 / 427.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.08528, allocations: 4 kB / 427.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.0853, allocations: 4 kB / 427.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.08532, allocations: 7.938 kB / 427.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.714e-05/0.08539, allocations: 31.89 kB / 427.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.0854, allocations: 0 / 427.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.08541, allocations: 0 / 427.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.08542, allocations: 0 / 427.6 MB, free: 11.11 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.0003093/0.08573, allocations: 335.5 kB / 427.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.08577, allocations: 8.031 kB / 427.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.0858, allocations: 4.938 kB / 427.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.08592, allocations: 160.4 kB / 428.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.08593, allocations: 8.359 kB / 428.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.08595, allocations: 8.359 kB / 428.1 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.0861, allocations: 72.94 kB / 428.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.08612, allocations: 4.188 kB / 428.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.08613, allocations: 3.938 kB / 428.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.08614, allocations: 0 / 428.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.08628, allocations: 35.97 kB / 428.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/0.08655, allocations: 273.7 kB / 428.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.0867, allocations: 77.12 kB / 428.5 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.766e-05/0.08679, allocations: 25.77 kB / 428.6 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.08681, allocations: 8 kB / 428.6 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.08683, allocations: 42.48 kB / 428.6 MB, free: 9.875 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.08684, allocations: 0 / 428.6 MB, free: 9.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002934/0.08714, allocations: 89.5 kB / 428.7 MB, free: 9.781 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.08717, allocations: 106.8 kB / 428.8 MB, free: 9.652 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.433e-05/0.08722, allocations: 106.1 kB / 428.9 MB, free: 9.539 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.08724, allocations: 25.7 kB / 428.9 MB, free: 9.508 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.148e-05/0.08726, allocations: 80.14 kB / 429 MB, free: 9.426 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.08728, allocations: 7.906 kB / 429 MB, free: 9.418 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.08731, allocations: 21.64 kB / 429 MB, free: 9.391 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.398e-05/0.08735, allocations: 314.8 kB / 429.4 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.647e-05/0.08743, allocations: 20.84 kB / 429.4 MB, free: 9.051 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.291e-05/0.08751, allocations: 42.55 kB / 429.4 MB, free: 9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.08765, allocations: 53.56 kB / 429.5 MB, free: 8.941 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.08765, allocations: 0 / 429.5 MB, free: 8.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000164/0.08782, allocations: 73.64 kB / 429.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.08784, allocations: 4 kB / 429.5 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.08785, allocations: 3.984 kB / 429.5 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.08787, allocations: 4 kB / 429.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.862e-05/0.08795, allocations: 11.94 kB / 429.6 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.08796, allocations: 0 / 429.6 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.08801, allocations: 7.984 kB / 429.6 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.08802, allocations: 8.062 kB / 429.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.125e-05/0.08809, allocations: 97 kB / 429.7 MB, free: 8.727 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.67e-05/0.08813, allocations: 22.58 kB / 429.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.907e-05/0.0882, allocations: 29.7 kB / 429.7 MB, free: 8.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.91e-07/0.08821, allocations: 0 / 429.7 MB, free: 8.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 9.922e-05/0.08831, allocations: 65.5 kB / 429.8 MB, free: 8.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.959e-06/0.08832, allocations: 4 kB / 429.8 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-06/0.08833, allocations: 0 / 429.8 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-06/0.08833, allocations: 4 kB / 429.8 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.306e-05/0.08837, allocations: 7.984 kB / 429.8 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-06/0.08838, allocations: 0 / 429.8 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.611e-05/0.08842, allocations: 4 kB / 429.8 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-06/0.08842, allocations: 0 / 429.8 MB, free: 8.57 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 4.213e-05/0.08847, allocations: 192.2 kB / 430 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.0885, allocations: 0 / 430 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.771e-05/0.08852, allocations: 7.5 kB / 430 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.08853, allocations: 7.984 kB / 430 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.08854, allocations: 0 / 430 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.08854, allocations: 3.984 kB / 430 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.08866, allocations: 165.6 kB / 430.2 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.08866, allocations: 0 / 430.2 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.647e-05/0.08872, allocations: 11.98 kB / 430.2 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.08873, allocations: 7.938 kB / 430.2 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.08874, allocations: 0 / 430.2 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.08875, allocations: 0 / 430.2 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.08875, allocations: 0 / 430.2 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.08893, allocations: 176.2 kB / 430.4 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.08895, allocations: 85.02 kB / 430.4 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.08897, allocations: 11.98 kB / 430.5 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.08905, allocations: 4 kB / 430.5 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.08909, allocations: 7.984 kB / 430.5 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.0891, allocations: 0 / 430.5 MB, free: 7.809 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.79e-05/0.08912, allocations: 79.28 kB / 430.5 MB, free: 7.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08912, allocations: 3.938 kB / 430.6 MB, free: 7.727 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.08939, allocations: 15.94 kB / 430.6 MB, free: 7.711 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 5.734e-05/0.08945, allocations: 95.25 kB / 430.7 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.08968, allocations: 55.89 kB / 430.7 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.08969, allocations: 0 / 430.7 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.472e-05/0.08977, allocations: 23.97 kB / 430.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.08998, allocations: 12.31 kB / 430.8 MB, free: 7.516 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002534/0.09024, allocations: 121.8 kB / 430.9 MB, free: 7.367 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.01e-05/0.09033, allocations: 0.6768 MB / 431.5 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.727e-05/0.09037, allocations: 8 kB / 431.6 MB, free: 6.656 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.55e-05/0.0904, allocations: 7.438 kB / 431.6 MB, free: 6.648 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09041, allocations: 4 kB / 431.6 MB, free: 6.645 MB / 302.1 MB Notification: Performance of Templates: time 0.002161/0.09258, allocations: 0.6228 MB / 432.2 MB, free: 6.027 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 gbode -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