Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_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_symb_jac_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.001325/0.001325, allocations: 93.27 kB / 16.03 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 184.1 kB / 16.92 MB, free: 6.934 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.582/1.582, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06077/0.06077, allocations: 14.16 MB / 285.6 MB, free: 7.043 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.0005598/0.0005601, allocations: 19.98 kB / 347.4 MB, free: 19.55 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1054, allocations: 51.12 MB / 398.5 MB, free: 396 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.000997/0.1064, allocations: 415.1 kB / 398.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002371/0.1067, allocations: 67.78 kB / 399 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.561e-05/0.1067, allocations: 0 / 399 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.1067, allocations: 4 kB / 399 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.871e-05/0.1068, allocations: 0 / 399 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.107, allocations: 15.86 kB / 399 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.1071, allocations: 31.91 kB / 399.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1072, allocations: 4 kB / 399.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.822e-05/0.1073, allocations: 15.92 kB / 399.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.969e-05/0.1073, allocations: 11.98 kB / 399.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1074, allocations: 0 / 399.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.1074, allocations: 4 kB / 399.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.1074, allocations: 0 / 399.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.1075, allocations: 33.64 kB / 399.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.178e-05/0.1075, allocations: 19.89 kB / 399.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1075, allocations: 0 / 399.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1076, allocations: 4 kB / 399.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.1076, allocations: 4 kB / 399.2 MB, free: 15.76 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.0004471/0.108, allocations: 343.7 kB / 399.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1081, allocations: 8.031 kB / 399.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.1081, allocations: 4.938 kB / 399.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.1083, allocations: 164.4 kB / 399.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.1083, allocations: 8.375 kB / 399.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.1083, allocations: 4.375 kB / 399.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.1086, allocations: 72.81 kB / 399.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1086, allocations: 192 / 399.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.1086, allocations: 3.938 kB / 399.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.1086, allocations: 0 / 399.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.1088, allocations: 51.89 kB / 399.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.1093, allocations: 265.9 kB / 400.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.1095, allocations: 85 kB / 400.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.1096, allocations: 41.83 kB / 400.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.1097, allocations: 7.969 kB / 400.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.1097, allocations: 30.56 kB / 400.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 3.366e-06/0.1097, allocations: 3.938 kB / 400.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004309/0.1102, allocations: 117.4 kB / 400.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.1102, allocations: 102.8 kB / 400.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.527e-05/0.1103, allocations: 97.86 kB / 400.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.1103, allocations: 25.7 kB / 400.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.1104, allocations: 84.39 kB / 400.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.1104, allocations: 7.906 kB / 400.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.1105, allocations: 17.7 kB / 400.7 MB, free: 14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1106, allocations: 310.8 kB / 401 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.501e-05/0.1107, allocations: 27.92 kB / 401 MB, free: 13.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.662e-05/0.1108, allocations: 42.55 kB / 401 MB, free: 13.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.111, allocations: 53.69 kB / 401.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.111, allocations: 4.031 kB / 401.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002161/0.1112, allocations: 81.55 kB / 401.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/0.1113, allocations: 105.9 kB / 401.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1113, allocations: 4 kB / 401.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1113, allocations: 0 / 401.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1114, allocations: 8 kB / 401.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1114, allocations: 0 / 401.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.063e-05/0.1115, allocations: 11.98 kB / 401.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1115, allocations: 4 kB / 401.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.061e-06/0.1115, allocations: 8 kB / 401.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001044/0.1116, allocations: 27.86 kB / 401.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-06/0.1117, allocations: 0 / 401.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-06/0.1117, allocations: 0 / 401.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.925e-05/0.1117, allocations: 11.98 kB / 401.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-06/0.1117, allocations: 0 / 401.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.651e-05/0.1118, allocations: 4 kB / 401.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.1118, allocations: 4 kB / 401.4 MB, free: 13.27 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 0.0001254/0.1119, allocations: 205 kB / 401.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.1119, allocations: 7.844 kB / 401.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.112, allocations: 3.125 kB / 401.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.112, allocations: 7.938 kB / 401.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.112, allocations: 3.984 kB / 401.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.112, allocations: 0 / 401.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.1122, allocations: 157.7 kB / 401.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1122, allocations: 7.938 kB / 401.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.538e-05/0.1123, allocations: 15.92 kB / 401.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1123, allocations: 4 kB / 401.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.1123, allocations: 0 / 401.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.1123, allocations: 4 kB / 401.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1123, allocations: 0 / 401.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000614/0.1129, allocations: 0.7482 MB / 402.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.113, allocations: 81.11 kB / 402.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.113, allocations: 0 / 402.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/0.1131, allocations: 15.98 kB / 402.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.1131, allocations: 3.984 kB / 402.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1131, allocations: 4 kB / 402.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.985e-05/0.1132, allocations: 79.61 kB / 402.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1132, allocations: 4 kB / 402.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004803/0.1137, allocations: 7.938 kB / 402.7 MB, free: 11.78 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 0.0001006/0.1138, allocations: 91.25 kB / 402.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.1141, allocations: 71.89 kB / 402.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1141, allocations: 0 / 402.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.1142, allocations: 24.23 kB / 402.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.1144, allocations: 18.86 kB / 402.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.1149, allocations: 222.2 kB / 403.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.1151, allocations: 0.6811 MB / 403.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.929e-05/0.1152, allocations: 11.98 kB / 403.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.1152, allocations: 7.438 kB / 403.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of SimCode: time 3.667e-06/0.1152, allocations: 0 / 403.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of Templates: time 0.002576/0.1178, allocations: 0.5356 MB / 404.4 MB, free: 10.05 MB / 302.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches