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.00122/0.00122, allocations: 105.8 kB / 16.41 MB, free: 6.5 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.001258/0.001259, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0741/0.0741, allocations: 16.78 MB / 308 MB, free: 14.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 59.91 kB / 427.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1067, allocations: 53.56 MB / 480.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002064/0.1088, allocations: 0.666 MB / 481.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002779/0.1091, allocations: 64.12 kB / 481.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/0.1092, allocations: 4 kB / 481.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.1092, allocations: 3.938 kB / 481.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.733e-05/0.1093, allocations: 0 / 481.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.1095, allocations: 23.92 kB / 481.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.747e-05/0.1096, allocations: 19.98 kB / 481.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1097, allocations: 15.92 kB / 481.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.773e-05/0.1097, allocations: 8 kB / 481.6 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.1098, allocations: 15.92 kB / 481.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.1098, allocations: 4 kB / 481.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.1098, allocations: 0 / 481.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.491e-05/0.1099, allocations: 15.97 kB / 481.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.1099, allocations: 11.88 kB / 481.6 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.587e-05/0.11, allocations: 19.91 kB / 481.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.11, allocations: 0 / 481.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.11, allocations: 0 / 481.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.11, allocations: 4 kB / 481.7 MB, free: 4.09 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.0004699/0.1105, allocations: 331.5 kB / 482 MB, free: 3.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1106, allocations: 12.03 kB / 482 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.1106, allocations: 8.828 kB / 482 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.1108, allocations: 164.4 kB / 482.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.1108, allocations: 384 / 482.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.1108, allocations: 4.375 kB / 482.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.111, allocations: 80.73 kB / 482.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1111, allocations: 192 / 482.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1111, allocations: 7.938 kB / 482.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1111, allocations: 0 / 482.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.1113, allocations: 31.97 kB / 482.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.1117, allocations: 269.8 kB / 482.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.1119, allocations: 73.06 kB / 482.6 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.112, allocations: 37.77 kB / 482.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.112, allocations: 0 / 482.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.1121, allocations: 30.56 kB / 482.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.284e-06/0.1121, allocations: 3.938 kB / 482.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003749/0.1124, allocations: 97.8 kB / 482.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/0.1125, allocations: 106.8 kB / 482.9 MB, free: 2.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.235e-05/0.1126, allocations: 101.8 kB / 483 MB, free: 2.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1126, allocations: 25.7 kB / 483 MB, free: 2.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.1127, allocations: 84.14 kB / 483.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.1127, allocations: 11.8 kB / 483.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.1128, allocations: 17.72 kB / 483.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1129, allocations: 314.8 kB / 483.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.384e-05/0.113, allocations: 32.88 kB / 483.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.1131, allocations: 34.56 kB / 483.5 MB, free: 1.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.1133, allocations: 49.7 kB / 483.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1133, allocations: 0 / 483.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002202/0.1135, allocations: 73.55 kB / 483.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1135, allocations: 8 kB / 483.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1136, allocations: 3.938 kB / 483.6 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1136, allocations: 288 / 483.6 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.944e-05/0.1137, allocations: 16.05 kB / 483.7 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1137, allocations: 0 / 483.7 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.085e-05/0.1138, allocations: 15.92 kB / 483.7 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1138, allocations: 4 kB / 483.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.312e-05/0.1139, allocations: 92.06 kB / 483.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.856e-05/0.1139, allocations: 26.56 kB / 483.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.092e-05/0.114, allocations: 33.73 kB / 483.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.31e-07/0.114, allocations: 0 / 483.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001261/0.1142, allocations: 57.56 kB / 483.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.1142, allocations: 8 kB / 483.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.1142, allocations: 0 / 483.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-06/0.1142, allocations: 0 / 483.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.995e-05/0.1142, allocations: 4 kB / 483.9 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1142, allocations: 7.969 kB / 483.9 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.223e-05/0.1143, allocations: 8.062 kB / 483.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1143, allocations: 4 kB / 483.9 MB, free: 1.539 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 0.0001017/0.1144, allocations: 180.2 kB / 484.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.1144, allocations: 7.906 kB / 484.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.1145, allocations: 7.125 kB / 484.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1145, allocations: 3.938 kB / 484.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1145, allocations: 0 / 484.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1145, allocations: 3.984 kB / 484.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.1147, allocations: 165.6 kB / 484.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1147, allocations: 0 / 484.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.1148, allocations: 15.92 kB / 484.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.1148, allocations: 0 / 484.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.1148, allocations: 0 / 484.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1148, allocations: 4 kB / 484.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1148, allocations: 0 / 484.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.1151, allocations: 176.3 kB / 484.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.1151, allocations: 81.11 kB / 484.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.1151, allocations: 4 kB / 484.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/0.1152, allocations: 11.98 kB / 484.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.1153, allocations: 3.984 kB / 484.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.1153, allocations: 3.938 kB / 484.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.652e-05/0.1153, allocations: 83.28 kB / 484.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1154, allocations: 4 kB / 484.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1156, allocations: 8 kB / 484.7 MB, free: 0.6953 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 0.0001084/0.1157, allocations: 91.25 kB / 484.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002808/0.116, allocations: 59.89 kB / 484.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.116, allocations: 3.938 kB / 484.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.945e-05/0.1161, allocations: 20.23 kB / 484.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.1164, allocations: 15.92 kB / 484.9 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.1168, allocations: 143.4 kB / 485 MB, free: 328 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.117, allocations: 0.6768 MB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.1171, allocations: 11.55 kB / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1171, allocations: 7.938 kB / 485.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of Templates: time 0.002093/0.1192, allocations: 0.6489 MB / 486.3 MB, free: 14.95 MB / 366.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