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.001534/0.001534, allocations: 104.8 kB / 16.27 MB, free: 5.98 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.001627/0.001627, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.471/1.471, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07498/0.07498, allocations: 16.77 MB / 307.8 MB, free: 14.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 62.88 kB / 372.4 MB, free: 48.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1199, allocations: 53.58 MB / 426 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002646/0.1226, allocations: 0.6694 MB / 426.6 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002364/0.1229, allocations: 63.73 kB / 426.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.1229, allocations: 0 / 426.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.123, allocations: 7.922 kB / 426.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.1231, allocations: 11.94 kB / 426.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.1232, allocations: 11.98 kB / 426.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.588e-05/0.1233, allocations: 27.92 kB / 426.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1235, allocations: 8 kB / 426.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.926e-05/0.1235, allocations: 11.97 kB / 426.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.476e-05/0.1235, allocations: 15.92 kB / 426.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1236, allocations: 0 / 426.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-06/0.1236, allocations: 4 kB / 426.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.1236, allocations: 4 kB / 426.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.1236, allocations: 19.92 kB / 426.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.009e-05/0.1237, allocations: 15.92 kB / 426.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1237, allocations: 0 / 426.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1237, allocations: 0 / 426.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.1237, allocations: 0 / 426.8 MB, free: 11.8 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.0003839/0.1241, allocations: 336.6 kB / 427.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1242, allocations: 8.031 kB / 427.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.1242, allocations: 4.938 kB / 427.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.1244, allocations: 168.7 kB / 427.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-06/0.1244, allocations: 8.375 kB / 427.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.1244, allocations: 384 / 427.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.1246, allocations: 72.75 kB / 427.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1246, allocations: 4.188 kB / 427.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1246, allocations: 7.938 kB / 427.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1246, allocations: 0 / 427.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.1248, allocations: 43.95 kB / 427.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.1251, allocations: 273.7 kB / 427.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.1253, allocations: 73.25 kB / 427.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.161e-05/0.1254, allocations: 37.69 kB / 427.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.1255, allocations: 4 kB / 427.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.1255, allocations: 30.56 kB / 427.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.1255, allocations: 3.984 kB / 427.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003479/0.1258, allocations: 97.48 kB / 428 MB, free: 10.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.1259, allocations: 106.8 kB / 428.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.519e-05/0.1259, allocations: 97.86 kB / 428.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.126, allocations: 25.7 kB / 428.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.126, allocations: 80.39 kB / 428.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.126, allocations: 15.89 kB / 428.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.1261, allocations: 13.72 kB / 428.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.956e-05/0.1261, allocations: 326.7 kB / 428.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.253e-05/0.1262, allocations: 16.84 kB / 428.7 MB, free: 9.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.047e-05/0.1263, allocations: 42.55 kB / 428.7 MB, free: 9.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.1264, allocations: 49.62 kB / 428.7 MB, free: 9.625 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1264, allocations: 0 / 428.7 MB, free: 9.625 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000182/0.1266, allocations: 77.66 kB / 428.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1267, allocations: 11.97 kB / 428.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1267, allocations: 0 / 428.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.1267, allocations: 4 kB / 428.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.975e-05/0.1268, allocations: 7.984 kB / 428.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1268, allocations: 4 kB / 428.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.1269, allocations: 4 kB / 428.9 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.1269, allocations: 0 / 428.9 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.836e-05/0.1269, allocations: 93 kB / 428.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.083e-05/0.127, allocations: 30.56 kB / 429 MB, free: 9.379 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.848e-05/0.127, allocations: 25.72 kB / 429 MB, free: 9.348 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.81e-07/0.1271, allocations: 3.938 kB / 429 MB, free: 9.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001057/0.1272, allocations: 57.53 kB / 429.1 MB, free: 9.281 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.26e-06/0.1272, allocations: 4.094 kB / 429.1 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/0.1272, allocations: 7.984 kB / 429.1 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-06/0.1272, allocations: 0 / 429.1 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.401e-05/0.1272, allocations: 8 kB / 429.1 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-06/0.1272, allocations: 0 / 429.1 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.785e-05/0.1273, allocations: 7.938 kB / 429.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-06/0.1273, allocations: 0 / 429.1 MB, free: 9.254 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 5.182e-05/0.1273, allocations: 192.2 kB / 429.3 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.1274, allocations: 0 / 429.3 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.949e-05/0.1274, allocations: 7.125 kB / 429.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1274, allocations: 4 kB / 429.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1274, allocations: 0 / 429.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1274, allocations: 0 / 429.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.1276, allocations: 165.6 kB / 429.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1276, allocations: 4 kB / 429.4 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.1276, allocations: 8 kB / 429.5 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1276, allocations: 4 kB / 429.5 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1276, allocations: 3.938 kB / 429.5 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-06/0.1276, allocations: 0 / 429.5 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1277, allocations: 7.984 kB / 429.5 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.1279, allocations: 176.2 kB / 429.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.1279, allocations: 85.02 kB / 429.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1279, allocations: 0 / 429.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.849e-05/0.128, allocations: 7.984 kB / 429.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.128, allocations: 11.94 kB / 429.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.128, allocations: 4 kB / 429.8 MB, free: 8.492 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.103e-05/0.1281, allocations: 79.7 kB / 429.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1281, allocations: 0 / 429.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1284, allocations: 11.94 kB / 429.8 MB, free: 8.402 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 7.222e-05/0.1284, allocations: 95.23 kB / 429.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002589/0.1287, allocations: 59.89 kB / 430 MB, free: 8.238 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1287, allocations: 0 / 430 MB, free: 8.238 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.267e-05/0.1288, allocations: 23.98 kB / 430 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.1291, allocations: 12.02 kB / 430 MB, free: 8.203 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.1294, allocations: 144 kB / 430.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.1295, allocations: 0.6768 MB / 430.8 MB, free: 7.324 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.1296, allocations: 11.44 kB / 430.9 MB, free: 7.312 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1296, allocations: 0 / 430.9 MB, free: 7.312 MB / 302.1 MB Notification: Performance of Templates: time 0.001793/0.1314, allocations: 0.6484 MB / 431.5 MB, free: 6.66 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 -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