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.004768/0.004768, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001139/0.001139, allocations: 192.2 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.233/1.233, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07378/0.07378, allocations: 16.77 MB / 307.3 MB, free: 14.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.89 kB / 426.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08639/0.08755, allocations: 53.55 MB / 480.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001731/0.08931, allocations: 0.6766 MB / 480.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002111/0.08954, allocations: 64.14 kB / 480.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.27e-05/0.08959, allocations: 0 / 480.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.3e-05/0.08962, allocations: 3.984 kB / 480.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.065e-05/0.0897, allocations: 7.938 kB / 480.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.08984, allocations: 7.984 kB / 480.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.914e-05/0.08992, allocations: 27.92 kB / 480.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.873e-05/0.09001, allocations: 8 kB / 480.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.114e-05/0.09005, allocations: 23.91 kB / 480.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.0901, allocations: 11.98 kB / 481 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.09012, allocations: 4 kB / 481 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.184e-06/0.09014, allocations: 0 / 481 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.09015, allocations: 0 / 481 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.09018, allocations: 15.92 kB / 481 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.086e-05/0.09026, allocations: 19.86 kB / 481 MB, free: 4.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.09027, allocations: 0 / 481 MB, free: 4.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.277e-06/0.09028, allocations: 0 / 481 MB, free: 4.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.09029, allocations: 3.938 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.0003577/0.09065, allocations: 339.5 kB / 481.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.09069, allocations: 12.03 kB / 481.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.09072, allocations: 0.9375 kB / 481.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.09088, allocations: 176.3 kB / 481.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.09089, allocations: 384 / 481.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-06/0.09091, allocations: 384 / 481.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.09109, allocations: 76.81 kB / 481.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.0911, allocations: 192 / 481.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.09112, allocations: 3.938 kB / 481.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.09113, allocations: 4 kB / 481.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.09132, allocations: 39.89 kB / 481.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.09167, allocations: 269.8 kB / 481.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.09185, allocations: 69.06 kB / 482 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.09196, allocations: 37.75 kB / 482 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.09198, allocations: 3.938 kB / 482 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.09201, allocations: 34.56 kB / 482 MB, free: 2.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.756e-06/0.09202, allocations: 3.984 kB / 482 MB, free: 2.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003446/0.09237, allocations: 93.58 kB / 482.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.09244, allocations: 107.1 kB / 482.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.051e-05/0.0925, allocations: 97.86 kB / 482.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.09253, allocations: 29.64 kB / 482.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.09258, allocations: 88.12 kB / 482.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.0926, allocations: 11.91 kB / 482.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.09264, allocations: 13.72 kB / 482.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.915e-05/0.09274, allocations: 314.8 kB / 482.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.139e-05/0.09284, allocations: 32.77 kB / 482.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.882e-05/0.09293, allocations: 38.56 kB / 482.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.0931, allocations: 45.69 kB / 482.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.09311, allocations: 32 / 482.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002036/0.09332, allocations: 81.53 kB / 483 MB, free: 1.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.09334, allocations: 4 kB / 483 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.09335, allocations: 4 kB / 483 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.09337, allocations: 0 / 483 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.441e-05/0.09345, allocations: 11.98 kB / 483 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.09347, allocations: 0 / 483 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/0.09353, allocations: 12 kB / 483 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.09354, allocations: 7.984 kB / 483 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.942e-05/0.09363, allocations: 88.14 kB / 483.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.758e-05/0.09368, allocations: 22.56 kB / 483.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.492e-05/0.09376, allocations: 29.66 kB / 483.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.01e-07/0.09377, allocations: 4.031 kB / 483.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.000122/0.0939, allocations: 61.55 kB / 483.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.693e-06/0.09391, allocations: 4 kB / 483.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-06/0.09392, allocations: 4 kB / 483.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-06/0.09393, allocations: 0 / 483.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.825e-05/0.09397, allocations: 4 kB / 483.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.09398, allocations: 3.984 kB / 483.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.096e-05/0.09402, allocations: 7.953 kB / 483.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.09403, allocations: 4.047 kB / 483.2 MB, free: 1.566 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.474e-05/0.09413, allocations: 192.2 kB / 483.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.09416, allocations: 3.938 kB / 483.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.704e-05/0.09418, allocations: 7.125 kB / 483.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.09418, allocations: 0 / 483.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.09419, allocations: 0 / 483.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.0942, allocations: 0 / 483.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.09436, allocations: 169.6 kB / 483.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.09436, allocations: 0 / 483.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.09443, allocations: 12 kB / 483.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.09444, allocations: 3.984 kB / 483.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.09445, allocations: 0 / 483.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.09446, allocations: 3.938 kB / 483.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.09446, allocations: 4 kB / 483.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.09471, allocations: 176.2 kB / 483.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.09475, allocations: 81.11 kB / 483.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.09477, allocations: 4 kB / 483.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.09485, allocations: 7.984 kB / 483.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.09489, allocations: 8 kB / 483.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.0949, allocations: 0 / 483.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.735e-05/0.09494, allocations: 79.7 kB / 484 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09495, allocations: 0 / 484 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.09522, allocations: 11.95 kB / 484 MB, free: 0.7227 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 9.085e-05/0.09532, allocations: 107.2 kB / 484.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002646/0.09559, allocations: 51.95 kB / 484.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.0956, allocations: 0 / 484.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.09569, allocations: 24.23 kB / 484.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.0959, allocations: 12.14 kB / 484.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.0962, allocations: 121.7 kB / 484.3 MB, free: 380 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.09644, allocations: 0.6768 MB / 485 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.471e-05/0.09649, allocations: 11.98 kB / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.09652, allocations: 7.438 kB / 485 MB, free: 15.65 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.09653, allocations: 0 / 485 MB, free: 15.65 MB / 366.1 MB Notification: Performance of Templates: time 0.002279/0.09881, allocations: 0.6441 MB / 485.6 MB, free: 15.01 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=50 -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