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.00142/0.00142, allocations: 107.6 kB / 16.41 MB, free: 6.465 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.001789/0.001789, allocations: 192.2 kB / 17.35 MB, free: 5.711 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.659/1.659, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06618/0.06618, allocations: 14.16 MB / 284.7 MB, free: 13.85 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.001632/0.001632, allocations: 76.17 kB / 397.2 MB, free: 43.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1092, allocations: 50.13 MB / 447.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002051/0.1113, allocations: 0.6746 MB / 448 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002575/0.1116, allocations: 64.14 kB / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.201e-05/0.1116, allocations: 0 / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.1117, allocations: 3.938 kB / 448 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.362e-05/0.1118, allocations: 8 kB / 448 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.112, allocations: 23.91 kB / 448.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.1121, allocations: 23.92 kB / 448.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1122, allocations: 11.98 kB / 448.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.863e-05/0.1122, allocations: 4 kB / 448.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.1123, allocations: 19.92 kB / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1123, allocations: 7.938 kB / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.1123, allocations: 0 / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.1124, allocations: 7.984 kB / 448.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.1124, allocations: 11.94 kB / 448.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.731e-05/0.1125, allocations: 23.89 kB / 448.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1125, allocations: 3.938 kB / 448.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1125, allocations: 0 / 448.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.1125, allocations: 0 / 448.2 MB, free: 12.79 MB / 334.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.0004872/0.113, allocations: 335.5 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1131, allocations: 12.03 kB / 448.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.1131, allocations: 0.9375 kB / 448.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1133, allocations: 172.4 kB / 448.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1133, allocations: 384 / 448.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.1133, allocations: 384 / 448.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.1135, allocations: 76.73 kB / 448.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.1136, allocations: 4.188 kB / 448.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.1136, allocations: 7.938 kB / 448.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1136, allocations: 4 kB / 448.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.1138, allocations: 31.97 kB / 448.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.1142, allocations: 269.8 kB / 449.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.1143, allocations: 69.12 kB / 449.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1145, allocations: 33.77 kB / 449.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1145, allocations: 0 / 449.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.1145, allocations: 38.5 kB / 449.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1145, allocations: 0 / 449.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003928/0.1149, allocations: 97.53 kB / 449.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.115, allocations: 102.8 kB / 449.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.996e-05/0.1151, allocations: 110.1 kB / 449.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1151, allocations: 25.7 kB / 449.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.1152, allocations: 80.14 kB / 449.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.1152, allocations: 11.95 kB / 449.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.1152, allocations: 13.72 kB / 449.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1154, allocations: 318.8 kB / 450 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.1155, allocations: 20.84 kB / 450 MB, free: 10.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.225e-05/0.1156, allocations: 42.56 kB / 450 MB, free: 10.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.1158, allocations: 49.61 kB / 450.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.1158, allocations: 0 / 450.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002066/0.116, allocations: 77.64 kB / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.116, allocations: 4 kB / 450.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.116, allocations: 7.938 kB / 450.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.116, allocations: 0 / 450.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1161, allocations: 15.92 kB / 450.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.1162, allocations: 0 / 450.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/0.1162, allocations: 15.88 kB / 450.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1162, allocations: 8.062 kB / 450.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.532e-05/0.1163, allocations: 84.14 kB / 450.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.01e-05/0.1164, allocations: 26.56 kB / 450.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.837e-05/0.1165, allocations: 29.7 kB / 450.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.51e-07/0.1165, allocations: 0 / 450.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001364/0.1166, allocations: 61.59 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.643e-06/0.1166, allocations: 4 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1166, allocations: 8 kB / 450.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-06/0.1166, allocations: 0 / 450.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.738e-05/0.1167, allocations: 4 kB / 450.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-06/0.1167, allocations: 0 / 450.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.986e-05/0.1168, allocations: 7.984 kB / 450.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-06/0.1168, allocations: 0 / 450.4 MB, free: 10.25 MB / 334.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 9.617e-05/0.1169, allocations: 192.2 kB / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.1169, allocations: 4 kB / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.1169, allocations: 11.08 kB / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.117, allocations: 0 / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.117, allocations: 0 / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.117, allocations: 0 / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.1171, allocations: 173.6 kB / 450.8 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1172, allocations: 0 / 450.8 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.499e-05/0.1172, allocations: 11.98 kB / 450.8 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1172, allocations: 0 / 450.8 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.1173, allocations: 4 kB / 450.8 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1173, allocations: 4 kB / 450.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1173, allocations: 0 / 450.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007958/0.1181, allocations: 0.9657 MB / 451.8 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.1181, allocations: 77.11 kB / 451.8 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.1182, allocations: 0 / 451.8 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.902e-05/0.1182, allocations: 15.92 kB / 451.9 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.1183, allocations: 11.88 kB / 451.9 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.1183, allocations: 0 / 451.9 MB, free: 8.648 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.235e-05/0.1184, allocations: 87.27 kB / 452 MB, free: 8.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1184, allocations: 0 / 452 MB, free: 8.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004876/0.1189, allocations: 8 kB / 452 MB, free: 8.555 MB / 334.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.0001216/0.119, allocations: 99.19 kB / 452.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.1193, allocations: 48.14 kB / 452.1 MB, free: 8.398 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1193, allocations: 12 kB / 452.1 MB, free: 8.387 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.786e-05/0.1194, allocations: 19.98 kB / 452.1 MB, free: 8.367 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.1197, allocations: 4.562 kB / 452.1 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000498/0.1202, allocations: 224.4 kB / 452.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.1206, allocations: 0.6808 MB / 453 MB, free: 7.395 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.028e-05/0.1206, allocations: 0 / 453 MB, free: 7.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.1207, allocations: 11.44 kB / 453.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1207, allocations: 4 kB / 453.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of Templates: time 0.003164/0.1238, allocations: 0.6436 MB / 453.7 MB, free: 6.738 MB / 334.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches