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.005874/0.005874, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.00131/0.00131, allocations: 191.7 kB / 16.68 MB, free: 6.375 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2012/0.2012, allocations: 16.77 MB / 307.3 MB, free: 14.79 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.7 kB / 426.5 MB, free: 36.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1026, allocations: 53.57 MB / 480.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.00169/0.1043, allocations: 0.6726 MB / 480.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002264/0.1046, allocations: 63.52 kB / 480.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.1046, allocations: 1.25 kB / 480.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.1047, allocations: 3.938 kB / 480.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.722e-05/0.1048, allocations: 3.984 kB / 480.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.1049, allocations: 28.72 kB / 480.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.95e-05/0.105, allocations: 22.08 kB / 480.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.232e-05/0.1051, allocations: 2.812 kB / 480.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.02e-05/0.1051, allocations: 11.77 kB / 480.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.118e-05/0.1052, allocations: 19.95 kB / 480.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1052, allocations: 6.156 kB / 480.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.1052, allocations: 3.25 kB / 480.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.1053, allocations: 0 / 480.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.1053, allocations: 14.14 kB / 481 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.868e-05/0.1054, allocations: 24.09 kB / 481 MB, free: 9.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1054, allocations: 1.156 kB / 481 MB, free: 9.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1054, allocations: 0 / 481 MB, free: 9.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.1054, allocations: 0 / 481 MB, free: 9.879 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.0003332/0.1057, allocations: 336.1 kB / 481.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1058, allocations: 13.44 kB / 481.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.1058, allocations: 5.875 kB / 481.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.1059, allocations: 171.7 kB / 481.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.106, allocations: 1.375 kB / 481.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.106, allocations: 1.469 kB / 481.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.1061, allocations: 76.81 kB / 481.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1062, allocations: 192 / 481.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1062, allocations: 9.094 kB / 481.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1062, allocations: 0 / 481.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.1063, allocations: 35.22 kB / 481.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.1067, allocations: 268.1 kB / 481.9 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1068, allocations: 69.94 kB / 482 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.521e-05/0.1069, allocations: 31.45 kB / 482 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.1069, allocations: 9.172 kB / 482 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.107, allocations: 39.75 kB / 482 MB, free: 8.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.107, allocations: 3.938 kB / 482 MB, free: 8.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003266/0.1073, allocations: 87.88 kB / 482.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.1073, allocations: 106.8 kB / 482.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.697e-05/0.1074, allocations: 94.42 kB / 482.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.1074, allocations: 34.73 kB / 482.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.1074, allocations: 81.45 kB / 482.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.1075, allocations: 13.19 kB / 482.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.1075, allocations: 21.3 kB / 482.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.025e-05/0.1075, allocations: 312 kB / 482.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.28e-05/0.1076, allocations: 23.12 kB / 482.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.768e-05/0.1077, allocations: 38.52 kB / 482.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.1079, allocations: 51.34 kB / 482.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1079, allocations: 1.656 kB / 482.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001771/0.108, allocations: 72.45 kB / 483 MB, free: 7.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1081, allocations: 9.828 kB / 483 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1081, allocations: 0 / 483 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1081, allocations: 1.469 kB / 483 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/0.1082, allocations: 15.16 kB / 483 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1082, allocations: 1.469 kB / 483 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.147e-05/0.1083, allocations: 13.27 kB / 483 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.1083, allocations: 5.25 kB / 483 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.58e-05/0.1083, allocations: 92.5 kB / 483.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.822e-05/0.1084, allocations: 20.39 kB / 483.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.857e-05/0.1085, allocations: 28.89 kB / 483.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.51e-07/0.1085, allocations: 0 / 483.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001064/0.1086, allocations: 61.62 kB / 483.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.693e-06/0.1086, allocations: 7.344 kB / 483.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-06/0.1086, allocations: 1.312 kB / 483.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-06/0.1086, allocations: 384 / 483.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.744e-05/0.1086, allocations: 9.453 kB / 483.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.1087, allocations: 1 kB / 483.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.862e-05/0.1087, allocations: 7.125 kB / 483.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.1087, allocations: 1.125 kB / 483.2 MB, free: 7.652 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 4.891e-05/0.1088, allocations: 190 kB / 483.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.1088, allocations: 6.188 kB / 483.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.152e-05/0.1088, allocations: 15.88 kB / 483.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1088, allocations: 4.75 kB / 483.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1088, allocations: 1.25 kB / 483.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1088, allocations: 0.8438 kB / 483.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.109, allocations: 163 kB / 483.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.109, allocations: 1.156 kB / 483.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.979e-05/0.109, allocations: 11.33 kB / 483.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.109, allocations: 4.969 kB / 483.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1091, allocations: 0.8125 kB / 483.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1091, allocations: 1.062 kB / 483.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1091, allocations: 0 / 483.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.1093, allocations: 175.8 kB / 483.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.1093, allocations: 86.38 kB / 483.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.1093, allocations: 5.438 kB / 483.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.1094, allocations: 9.219 kB / 483.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.1094, allocations: 6.547 kB / 483.9 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.1094, allocations: 1.281 kB / 483.9 MB, free: 6.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.974e-05/0.1095, allocations: 77.91 kB / 484 MB, free: 6.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1095, allocations: 0 / 484 MB, free: 6.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1097, allocations: 10.81 kB / 484 MB, free: 6.871 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.492e-05/0.1098, allocations: 98 kB / 484.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002545/0.1101, allocations: 56.11 kB / 484.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1101, allocations: 1.281 kB / 484.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.225e-05/0.1102, allocations: 21.5 kB / 484.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.1104, allocations: 11.69 kB / 484.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.1107, allocations: 124.4 kB / 484.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.698e-05/0.1108, allocations: 0.6767 MB / 485 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.974e-05/0.1109, allocations: 5.969 kB / 485 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.1109, allocations: 13.31 kB / 485 MB, free: 5.895 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1109, allocations: 0 / 485 MB, free: 5.895 MB / 350.1 MB Notification: Performance of Templates: time 0.002783/0.1137, allocations: 0.6455 MB / 485.6 MB, free: 5.566 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches