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.001484/0.001485, allocations: 113.9 kB / 16.42 MB, free: 5.984 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.001596/0.001596, allocations: 190.4 kB / 17.35 MB, free: 5.602 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.273/1.273, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07494/0.07494, allocations: 16.77 MB / 308 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 59.91 kB / 427.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08702/0.08819, allocations: 53.57 MB / 480.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001591/0.08981, allocations: 0.6699 MB / 481.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002102/0.09004, allocations: 68.06 kB / 481.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.891e-05/0.09008, allocations: 0 / 481.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.09011, allocations: 0 / 481.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.97e-05/0.09019, allocations: 11.88 kB / 481.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001282/0.09032, allocations: 15.98 kB / 481.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.951e-05/0.09041, allocations: 23.92 kB / 481.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.134e-05/0.0905, allocations: 7.984 kB / 481.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.567e-05/0.09053, allocations: 15.94 kB / 481.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.057e-05/0.09059, allocations: 11.98 kB / 481.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.09061, allocations: 4 kB / 481.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-06/0.09062, allocations: 0 / 481.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.09064, allocations: 11.97 kB / 481.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.09068, allocations: 11.94 kB / 481.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.978e-05/0.09075, allocations: 23.84 kB / 481.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.09076, allocations: 0 / 481.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.09077, allocations: 0 / 481.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.09078, allocations: 0 / 481.7 MB, free: 4.086 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.0003875/0.09117, allocations: 335.5 kB / 482 MB, free: 3.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.09121, allocations: 8.031 kB / 482 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.09125, allocations: 4.938 kB / 482 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.0914, allocations: 176.3 kB / 482.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.09141, allocations: 4.375 kB / 482.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.09143, allocations: 384 / 482.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.09161, allocations: 76.8 kB / 482.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.09163, allocations: 192 / 482.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.09164, allocations: 3.938 kB / 482.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.09165, allocations: 0 / 482.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.09183, allocations: 39.91 kB / 482.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.09217, allocations: 269.8 kB / 482.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.09236, allocations: 73.06 kB / 482.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.897e-05/0.09246, allocations: 29.77 kB / 482.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.09249, allocations: 4 kB / 482.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.09252, allocations: 38.5 kB / 482.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.09252, allocations: 0 / 482.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003638/0.09289, allocations: 89.58 kB / 482.8 MB, free: 2.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.09295, allocations: 107.1 kB / 482.9 MB, free: 2.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.026e-05/0.09302, allocations: 105.8 kB / 483 MB, free: 2.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.09304, allocations: 25.7 kB / 483 MB, free: 2.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.09309, allocations: 84.12 kB / 483.1 MB, free: 2.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.09312, allocations: 11.91 kB / 483.1 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.09315, allocations: 13.72 kB / 483.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.09326, allocations: 318.8 kB / 483.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.083e-05/0.09336, allocations: 24.84 kB / 483.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.09347, allocations: 34.56 kB / 483.5 MB, free: 1.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.09365, allocations: 49.62 kB / 483.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.09366, allocations: 7.922 kB / 483.6 MB, free: 1.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002126/0.09388, allocations: 81.58 kB / 483.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.0939, allocations: 4 kB / 483.7 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.09391, allocations: 0 / 483.7 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.09392, allocations: 4 kB / 483.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.622e-05/0.09401, allocations: 11.98 kB / 483.7 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.09403, allocations: 0 / 483.7 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/0.09409, allocations: 15.98 kB / 483.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.0941, allocations: 0 / 483.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.867e-05/0.09418, allocations: 88.14 kB / 483.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.067e-05/0.09423, allocations: 30.83 kB / 483.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.752e-05/0.09433, allocations: 33.64 kB / 483.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.09434, allocations: 8.016 kB / 483.8 MB, free: 1.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001211/0.09447, allocations: 53.62 kB / 483.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.302e-06/0.09448, allocations: 4 kB / 483.9 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-06/0.09448, allocations: 0 / 483.9 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.707e-06/0.09449, allocations: 4 kB / 483.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.927e-05/0.09454, allocations: 7.938 kB / 483.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-06/0.09454, allocations: 0 / 483.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.09459, allocations: 15.94 kB / 483.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-06/0.0946, allocations: 0 / 483.9 MB, free: 1.531 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 7.836e-05/0.09468, allocations: 184.3 kB / 484.1 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.09472, allocations: 3.938 kB / 484.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/0.09474, allocations: 15.06 kB / 484.1 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.09475, allocations: 0 / 484.1 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.09475, allocations: 0 / 484.1 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.09479, allocations: 81.09 kB / 484.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.09481, allocations: 4 kB / 484.2 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.474e-05/0.0949, allocations: 4 kB / 484.2 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.09494, allocations: 15.92 kB / 484.2 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002791/0.09523, allocations: 228.2 kB / 484.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002814/0.09552, allocations: 318.1 kB / 484.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.689e-05/0.09562, allocations: 27.91 kB / 484.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.026e-05/0.09566, allocations: 83.28 kB / 484.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of Backend: time 3.21e-07/0.09567, allocations: 0 / 484.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004852/0.09616, allocations: 106.4 kB / 485 MB, free: 432 kB / 350.1 MB Notification: Performance of SimCode: time 0.0003499/0.09652, allocations: 0.5525 MB / 485.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of Templates: time 0.002565/0.0991, allocations: 0.791 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