Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.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.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 105.5 kB / 16.36 MB, free: 5.824 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.001584/0.001584, allocations: 193.8 kB / 17.29 MB, free: 5.48 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.267/1.267, allocations: 222.9 MB / 241 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.07375/0.07375, allocations: 16.74 MB / 307.9 MB, free: 14.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.03 kB / 373.1 MB, free: 48.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08401/0.08545, allocations: 53.58 MB / 426.7 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001846/0.08733, allocations: 0.669 MB / 427.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001955/0.08755, allocations: 55.8 kB / 427.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.0876, allocations: 0 / 427.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.08765, allocations: 3.938 kB / 427.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.08772, allocations: 7.922 kB / 427.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001277/0.08785, allocations: 16 kB / 427.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.35e-05/0.08794, allocations: 27.91 kB / 427.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.423e-05/0.08803, allocations: 7.984 kB / 427.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.412e-05/0.08806, allocations: 8 kB / 427.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.393e-05/0.08811, allocations: 11.92 kB / 427.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.08812, allocations: 4 kB / 427.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.452e-06/0.08814, allocations: 0 / 427.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.08815, allocations: 4 kB / 427.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.08818, allocations: 15.92 kB / 427.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.32e-05/0.08825, allocations: 23.91 kB / 427.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.08826, allocations: 7.938 kB / 427.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.08826, allocations: 0 / 427.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.08827, allocations: 0 / 427.6 MB, free: 11.14 MB / 302.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.0002802/0.08856, allocations: 331.5 kB / 427.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.08859, allocations: 8.031 kB / 427.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.08863, allocations: 4.938 kB / 427.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.08874, allocations: 168.4 kB / 428.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.08876, allocations: 4.375 kB / 428.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.08877, allocations: 4.375 kB / 428.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.08893, allocations: 68.81 kB / 428.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.08895, allocations: 192 / 428.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.08896, allocations: 3.938 kB / 428.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.08897, allocations: 3.938 kB / 428.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.08911, allocations: 35.97 kB / 428.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.08938, allocations: 270 kB / 428.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.08952, allocations: 77.06 kB / 428.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.676e-05/0.08961, allocations: 33.77 kB / 428.5 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.08964, allocations: 0 / 428.5 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.08967, allocations: 30.56 kB / 428.6 MB, free: 9.934 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.08967, allocations: 0 / 428.6 MB, free: 9.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003072/0.08999, allocations: 97.58 kB / 428.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.09003, allocations: 106.8 kB / 428.8 MB, free: 9.703 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.657e-05/0.09009, allocations: 105.8 kB / 428.9 MB, free: 9.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.0901, allocations: 25.7 kB / 428.9 MB, free: 9.559 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.462e-05/0.09013, allocations: 80.14 kB / 429 MB, free: 9.477 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.09016, allocations: 15.84 kB / 429 MB, free: 9.461 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.09019, allocations: 13.81 kB / 429 MB, free: 9.441 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.09025, allocations: 326.8 kB / 429.3 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.303e-05/0.09032, allocations: 16.84 kB / 429.3 MB, free: 9.094 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.737e-05/0.0904, allocations: 34.56 kB / 429.4 MB, free: 9.051 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.09052, allocations: 49.72 kB / 429.4 MB, free: 8.996 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.09053, allocations: 0 / 429.4 MB, free: 8.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001604/0.0907, allocations: 81.53 kB / 429.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.09072, allocations: 4 kB / 429.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.09073, allocations: 0 / 429.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.09074, allocations: 4.062 kB / 429.5 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.09082, allocations: 11.98 kB / 429.5 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.09084, allocations: 0 / 429.5 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.09089, allocations: 15.98 kB / 429.5 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.0909, allocations: 288 / 429.5 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.168e-05/0.09095, allocations: 85.02 kB / 429.6 MB, free: 8.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.682e-05/0.091, allocations: 38.48 kB / 429.7 MB, free: 8.742 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.814e-05/0.09106, allocations: 29.73 kB / 429.7 MB, free: 8.707 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.09107, allocations: 0 / 429.7 MB, free: 8.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 9.658e-05/0.09117, allocations: 61.47 kB / 429.8 MB, free: 8.641 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.235e-06/0.09119, allocations: 10.66 kB / 429.8 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-06/0.09119, allocations: 0 / 429.8 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-06/0.0912, allocations: 0 / 429.8 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.081e-05/0.09123, allocations: 8.062 kB / 429.8 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.09124, allocations: 4 kB / 429.8 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.09128, allocations: 3.984 kB / 429.8 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-06/0.09129, allocations: 4 kB / 429.8 MB, free: 8.613 MB / 302.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 4.093e-05/0.09133, allocations: 180.2 kB / 430 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.09136, allocations: 4 kB / 430 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.615e-05/0.09138, allocations: 7.125 kB / 430 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.09139, allocations: 0 / 430 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.09139, allocations: 0 / 430 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.0914, allocations: 8 kB / 430 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.09151, allocations: 161.6 kB / 430.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.09152, allocations: 0 / 430.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.941e-05/0.09157, allocations: 15.92 kB / 430.2 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.09158, allocations: 0 / 430.2 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.09159, allocations: 7.938 kB / 430.2 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.09159, allocations: 0 / 430.2 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.0916, allocations: 3.938 kB / 430.2 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.09177, allocations: 176.3 kB / 430.3 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.09179, allocations: 81.02 kB / 430.4 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.09181, allocations: 0 / 430.4 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.09189, allocations: 11.98 kB / 430.4 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.09192, allocations: 4 kB / 430.4 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.09193, allocations: 4 kB / 430.4 MB, free: 7.867 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.029e-05/0.09195, allocations: 87.27 kB / 430.5 MB, free: 7.781 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09196, allocations: 0 / 430.5 MB, free: 7.781 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.09222, allocations: 15.94 kB / 430.5 MB, free: 7.766 MB / 302.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 5.699e-05/0.09228, allocations: 99.19 kB / 430.6 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.0925, allocations: 48.14 kB / 430.7 MB, free: 7.609 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.09251, allocations: 8 kB / 430.7 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.919e-05/0.09258, allocations: 19.98 kB / 430.7 MB, free: 7.582 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.09279, allocations: 7.938 kB / 430.7 MB, free: 7.574 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.09303, allocations: 113.9 kB / 430.8 MB, free: 7.434 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.693e-05/0.09314, allocations: 0.6808 MB / 431.5 MB, free: 6.727 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.181e-05/0.09318, allocations: 4 kB / 431.5 MB, free: 6.723 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.09321, allocations: 11.44 kB / 431.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09321, allocations: 0 / 431.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of Templates: time 0.03337/0.1266, allocations: 0.6194 MB / 432.1 MB, free: 6.094 MB / 302.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches