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.005151/0.005151, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001101/0.001101, allocations: 193.4 kB / 16.67 MB, free: 5.969 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0732/0.0732, allocations: 16.78 MB / 307.3 MB, free: 14.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 55.91 kB / 426.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1133, allocations: 53.56 MB / 480.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001917/0.1152, allocations: 0.6843 MB / 480.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002643/0.1155, allocations: 60.12 kB / 480.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.1156, allocations: 4 kB / 480.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.878e-05/0.1156, allocations: 3.938 kB / 480.9 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.449e-05/0.1157, allocations: 0 / 480.9 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.1159, allocations: 19.92 kB / 480.9 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.368e-05/0.116, allocations: 27.98 kB / 480.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1161, allocations: 3.984 kB / 480.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.127e-05/0.1162, allocations: 15.92 kB / 480.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.254e-05/0.1163, allocations: 11.98 kB / 480.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.1163, allocations: 4 kB / 480.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.03e-05/0.1163, allocations: 4 kB / 481 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.306e-05/0.1163, allocations: 3.984 kB / 481 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.1164, allocations: 11.88 kB / 481 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.832e-05/0.1164, allocations: 27.84 kB / 481 MB, free: 4.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1165, allocations: 0 / 481 MB, free: 4.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1165, allocations: 4 kB / 481 MB, free: 4.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.1165, allocations: 4 kB / 481 MB, free: 4.121 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.0004665/0.1169, allocations: 331.5 kB / 481.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.117, allocations: 8.031 kB / 481.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.117, allocations: 0.9375 kB / 481.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.1172, allocations: 172.3 kB / 481.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.1172, allocations: 384 / 481.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.1173, allocations: 4.375 kB / 481.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.1175, allocations: 84.73 kB / 481.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1175, allocations: 4.125 kB / 481.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.1175, allocations: 3.938 kB / 481.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1176, allocations: 0 / 481.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.1177, allocations: 31.97 kB / 481.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.1182, allocations: 273.8 kB / 481.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.1184, allocations: 77 kB / 482 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.731e-05/0.1185, allocations: 33.77 kB / 482 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.1185, allocations: 0 / 482 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1185, allocations: 38.5 kB / 482 MB, free: 2.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.1185, allocations: 4 kB / 482 MB, free: 2.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003645/0.1189, allocations: 89.83 kB / 482.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.119, allocations: 106.8 kB / 482.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.73e-05/0.119, allocations: 97.98 kB / 482.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.1191, allocations: 29.7 kB / 482.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.1191, allocations: 84.14 kB / 482.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.1191, allocations: 7.906 kB / 482.5 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.1192, allocations: 17.72 kB / 482.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1193, allocations: 318.9 kB / 482.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.162e-05/0.1194, allocations: 24.84 kB / 482.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-05/0.1195, allocations: 34.59 kB / 482.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1196, allocations: 53.7 kB / 482.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.1197, allocations: 0 / 482.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002033/0.1199, allocations: 73.55 kB / 483 MB, free: 1.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1199, allocations: 8 kB / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1199, allocations: 0 / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1199, allocations: 0 / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/0.12, allocations: 16.05 kB / 483 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.12, allocations: 0 / 483 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.896e-05/0.1201, allocations: 15.92 kB / 483 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.1201, allocations: 3.938 kB / 483 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.285e-05/0.1202, allocations: 92.14 kB / 483.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.641e-05/0.1202, allocations: 26.56 kB / 483.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.436e-05/0.1203, allocations: 29.73 kB / 483.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.1203, allocations: 0 / 483.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001268/0.1205, allocations: 57.56 kB / 483.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.1205, allocations: 8 kB / 483.2 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-06/0.1205, allocations: 0 / 483.2 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-06/0.1205, allocations: 0 / 483.2 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.426e-05/0.1205, allocations: 4 kB / 483.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.1205, allocations: 8.062 kB / 483.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.214e-05/0.1206, allocations: 11.94 kB / 483.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-06/0.1206, allocations: 7.938 kB / 483.2 MB, free: 1.57 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 9.083e-05/0.1207, allocations: 184.1 kB / 483.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.1207, allocations: 4 kB / 483.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.594e-05/0.1208, allocations: 7.125 kB / 483.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1208, allocations: 0 / 483.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1208, allocations: 0 / 483.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1208, allocations: 4 kB / 483.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.121, allocations: 169.5 kB / 483.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.121, allocations: 0 / 483.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.121, allocations: 11.98 kB / 483.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.121, allocations: 0 / 483.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.1211, allocations: 4 kB / 483.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1211, allocations: 0 / 483.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1211, allocations: 0 / 483.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.1213, allocations: 176.3 kB / 483.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.1214, allocations: 77.11 kB / 483.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.1214, allocations: 0 / 483.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.062e-05/0.1215, allocations: 15.98 kB / 483.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.1215, allocations: 7.922 kB / 483.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.1215, allocations: 4 kB / 483.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.677e-05/0.1216, allocations: 79.28 kB / 484 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1216, allocations: 0 / 484 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.1219, allocations: 15.95 kB / 484 MB, free: 0.7305 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.0001154/0.122, allocations: 95.25 kB / 484.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002727/0.1223, allocations: 55.89 kB / 484.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1223, allocations: 256 / 484.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.153e-05/0.1224, allocations: 23.98 kB / 484.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.1226, allocations: 11.92 kB / 484.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.1229, allocations: 121.7 kB / 484.3 MB, free: 396 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.1232, allocations: 0.6767 MB / 485 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.316e-05/0.1232, allocations: 8.109 kB / 485 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.1233, allocations: 15.44 kB / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1233, allocations: 0 / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Templates: time 0.002952/0.1262, allocations: 0.6361 MB / 485.6 MB, free: 15.03 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches