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.001362/0.001362, allocations: 109.2 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.001417/0.001417, allocations: 188.3 kB / 17.34 MB, free: 5.711 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.378/1.378, allocations: 222.9 MB / 241.1 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.08195/0.08195, allocations: 16.78 MB / 308 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 63.89 kB / 427.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1103, allocations: 53.55 MB / 480.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001957/0.1123, allocations: 0.6815 MB / 481.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002892/0.1126, allocations: 60.14 kB / 481.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.1127, allocations: 4 kB / 481.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.1127, allocations: 7.922 kB / 481.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.1129, allocations: 0 / 481.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.1131, allocations: 23.92 kB / 481.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.1132, allocations: 19.98 kB / 481.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1133, allocations: 7.984 kB / 481.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.735e-05/0.1133, allocations: 11.98 kB / 481.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.1134, allocations: 15.92 kB / 481.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.1134, allocations: 4 kB / 481.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.1135, allocations: 0 / 481.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.1135, allocations: 11.94 kB / 481.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.1135, allocations: 11.92 kB / 481.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.672e-05/0.1136, allocations: 27.84 kB / 481.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1136, allocations: 0 / 481.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1137, allocations: 0 / 481.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.1137, allocations: 0 / 481.7 MB, free: 4.094 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.0004859/0.1142, allocations: 345.6 kB / 482 MB, free: 3.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.1142, allocations: 8.031 kB / 482 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.1143, allocations: 0.9375 kB / 482 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.1145, allocations: 172.3 kB / 482.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1145, allocations: 384 / 482.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1145, allocations: 8.375 kB / 482.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.1147, allocations: 72.75 kB / 482.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1148, allocations: 192 / 482.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1148, allocations: 7.938 kB / 482.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1148, allocations: 0 / 482.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.115, allocations: 39.95 kB / 482.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.1154, allocations: 265.8 kB / 482.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.1156, allocations: 73.16 kB / 482.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.941e-05/0.1157, allocations: 41.75 kB / 482.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.1157, allocations: 0 / 482.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1158, allocations: 34.5 kB / 482.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.1158, allocations: 3.938 kB / 482.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000375/0.1162, allocations: 93.64 kB / 482.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.1162, allocations: 106.8 kB / 482.9 MB, free: 2.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.102e-05/0.1163, allocations: 97.86 kB / 483 MB, free: 2.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1163, allocations: 25.7 kB / 483.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.1164, allocations: 84.12 kB / 483.1 MB, free: 2.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.1164, allocations: 11.91 kB / 483.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.1164, allocations: 21.97 kB / 483.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1166, allocations: 310.8 kB / 483.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.162e-05/0.1167, allocations: 28.83 kB / 483.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.426e-05/0.1168, allocations: 34.56 kB / 483.5 MB, free: 1.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.1169, allocations: 45.72 kB / 483.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1169, allocations: 3.938 kB / 483.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002024/0.1171, allocations: 73.59 kB / 483.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1172, allocations: 4 kB / 483.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1172, allocations: 4 kB / 483.7 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1172, allocations: 4.062 kB / 483.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.1173, allocations: 11.98 kB / 483.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1173, allocations: 0 / 483.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.927e-05/0.1174, allocations: 19.86 kB / 483.7 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1174, allocations: 4 kB / 483.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.248e-05/0.1175, allocations: 84.14 kB / 483.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.86e-05/0.1175, allocations: 26.56 kB / 483.8 MB, free: 1.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.164e-05/0.1176, allocations: 29.75 kB / 483.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.1176, allocations: 0 / 483.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001228/0.1178, allocations: 61.55 kB / 483.9 MB, free: 1.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/0.1178, allocations: 7.938 kB / 483.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1178, allocations: 8 kB / 483.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-06/0.1178, allocations: 64 / 483.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.779e-05/0.1178, allocations: 8 kB / 483.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-06/0.1178, allocations: 0 / 483.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.1179, allocations: 11.94 kB / 483.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.1179, 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 8.928e-05/0.118, allocations: 176.3 kB / 484.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.118, allocations: 7.938 kB / 484.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.1181, allocations: 7.125 kB / 484.1 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1181, allocations: 3.938 kB / 484.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1181, allocations: 4 kB / 484.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.1181, allocations: 81.05 kB / 484.2 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.1181, allocations: 4 kB / 484.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.1182, allocations: 7.984 kB / 484.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.1183, allocations: 15.92 kB / 484.2 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002696/0.1186, allocations: 228.2 kB / 484.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002878/0.1188, allocations: 314.1 kB / 484.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.401e-05/0.119, allocations: 28.03 kB / 484.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.733e-05/0.119, allocations: 83.7 kB / 484.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of Backend: time 7.41e-07/0.119, allocations: 0 / 484.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005299/0.1195, allocations: 110.3 kB / 485 MB, free: 440 kB / 350.1 MB Notification: Performance of SimCode: time 0.000427/0.12, allocations: 0.5486 MB / 485.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of Templates: time 0.002999/0.123, allocations: 0.7941 MB / 486.3 MB, free: 15.04 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