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.001565/0.001565, allocations: 104.1 kB / 15.88 MB, free: 4 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.001831/0.001831, allocations: 199.1 kB / 16.8 MB, free: 6.824 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.627/1.627, allocations: 205.1 MB / 222.7 MB, free: 5.059 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.09537/0.09537, allocations: 14.16 MB / 284.1 MB, free: 7.59 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.001489/0.001489, allocations: 68.12 kB / 345 MB, free: 19.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1025, allocations: 50.14 MB / 395.2 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002237/0.1048, allocations: 0.7403 MB / 395.9 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002484/0.1051, allocations: 63.78 kB / 396 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.1052, allocations: 0 / 396 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.727e-05/0.1052, allocations: 3.938 kB / 396 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.277e-05/0.1053, allocations: 0 / 396 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.1055, allocations: 19.98 kB / 396 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.575e-05/0.1056, allocations: 27.91 kB / 396 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1058, allocations: 8 kB / 396 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.481e-05/0.1058, allocations: 11.92 kB / 396.1 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.1059, allocations: 15.98 kB / 396.1 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.1059, allocations: 0 / 396.1 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.1059, allocations: 4 kB / 396.1 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.106, allocations: 11.88 kB / 396.1 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/0.106, allocations: 3.984 kB / 396.1 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.132e-05/0.1061, allocations: 19.91 kB / 396.1 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1061, allocations: 0 / 396.1 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1061, allocations: 0 / 396.1 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1061, allocations: 0 / 396.1 MB, free: 0.7852 MB / 286.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.0004293/0.1066, allocations: 347.7 kB / 396.4 MB, free: 404 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1066, allocations: 12.03 kB / 396.5 MB, free: 392 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.1067, allocations: 0.9375 kB / 396.5 MB, free: 392 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.1068, allocations: 172.3 kB / 396.6 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1069, allocations: 384 / 396.6 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.1069, allocations: 4.375 kB / 396.6 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.1071, allocations: 68.81 kB / 396.7 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.1071, allocations: 4.188 kB / 396.7 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1071, allocations: 7.938 kB / 396.7 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1072, allocations: 0 / 396.7 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.1073, allocations: 39.89 kB / 396.8 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.1078, allocations: 261.9 kB / 397 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.1079, allocations: 73 kB / 397.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.1081, allocations: 37.81 kB / 397.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.1081, allocations: 0 / 397.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1081, allocations: 42.5 kB / 397.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.1082, allocations: 0 / 397.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003885/0.1085, allocations: 93.48 kB / 397.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/0.1086, allocations: 106.8 kB / 397.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.751e-05/0.1087, allocations: 98.11 kB / 397.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1088, allocations: 25.7 kB / 397.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.1088, allocations: 92.12 kB / 397.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.1089, allocations: 3.906 kB / 397.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.1089, allocations: 13.72 kB / 397.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.109, allocations: 314.8 kB / 397.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.26e-05/0.1091, allocations: 24.84 kB / 397.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.1092, allocations: 42.67 kB / 398 MB, free: 14.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.1094, allocations: 45.69 kB / 398 MB, free: 14.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1094, allocations: 0 / 398 MB, free: 14.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002053/0.1096, allocations: 81.66 kB / 398.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1097, allocations: 8 kB / 398.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1097, allocations: 0 / 398.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1097, allocations: 3.984 kB / 398.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.622e-05/0.1098, allocations: 11.98 kB / 398.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1098, allocations: 0 / 398.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.284e-05/0.1099, allocations: 4 kB / 398.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1099, allocations: 12 kB / 398.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.304e-05/0.11, allocations: 92.12 kB / 398.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.01e-05/0.11, allocations: 26.56 kB / 398.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.57e-05/0.1101, allocations: 25.66 kB / 398.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.21e-07/0.1101, allocations: 0 / 398.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001206/0.1103, allocations: 61.56 kB / 398.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.1103, allocations: 11.98 kB / 398.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-06/0.1103, allocations: 0 / 398.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-06/0.1103, allocations: 0 / 398.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.665e-05/0.1103, allocations: 7.938 kB / 398.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-06/0.1103, allocations: 0 / 398.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.723e-05/0.1104, allocations: 4 kB / 398.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.1104, allocations: 8 kB / 398.4 MB, free: 14.24 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.0001064/0.1105, allocations: 205.2 kB / 398.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.1105, allocations: 4 kB / 398.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.1106, allocations: 11.06 kB / 398.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1106, allocations: 0 / 398.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1106, allocations: 0 / 398.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1106, allocations: 0 / 398.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.1108, allocations: 165.6 kB / 398.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1108, allocations: 0 / 398.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.896e-05/0.1109, allocations: 8 kB / 398.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1109, allocations: 4 kB / 398.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1109, allocations: 0 / 398.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1109, allocations: 7.984 kB / 398.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1109, allocations: 0 / 398.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005775/0.1115, allocations: 0.7364 MB / 399.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.1115, allocations: 81.09 kB / 399.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.1116, allocations: 0 / 399.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/0.1116, allocations: 11.94 kB / 399.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.1117, allocations: 7.922 kB / 399.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.1117, allocations: 0 / 399.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.324e-05/0.1118, allocations: 83.28 kB / 399.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1118, allocations: 4 kB / 399.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004932/0.1123, allocations: 8 kB / 399.7 MB, free: 12.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 9.886e-05/0.1124, allocations: 95.23 kB / 399.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.1127, allocations: 55.89 kB / 399.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1127, allocations: 4 kB / 399.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.497e-05/0.1128, allocations: 24.23 kB / 399.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.113, allocations: 4 kB / 399.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.1135, allocations: 242 kB / 400.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.1138, allocations: 0.6733 MB / 400.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.143e-05/0.1138, allocations: 7.984 kB / 400.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.1139, allocations: 11.44 kB / 400.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1139, allocations: 0 / 400.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of Templates: time 0.002937/0.1168, allocations: 0.5359 MB / 401.3 MB, free: 11.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=480 -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/jenkins/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