Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_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_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.001027/0.001027, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007979/0.007979, allocations: 169 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06131/0.06131, allocations: 14.15 MB / 284.9 MB, free: 7.035 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.000487, allocations: 20.56 kB / 346.8 MB, free: 19.55 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.09697, allocations: 51.12 MB / 397.9 MB, free: 392 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.0008543/0.09785, allocations: 414.5 kB / 398.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002105/0.09808, allocations: 55.8 kB / 398.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.09812, allocations: 0 / 398.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.09814, allocations: 0 / 398.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.49e-05/0.09824, allocations: 7.984 kB / 398.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.09839, allocations: 23.8 kB / 398.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.681e-05/0.09849, allocations: 20 kB / 398.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.09861, allocations: 7.984 kB / 398.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.006e-05/0.09864, allocations: 11.94 kB / 398.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.893e-05/0.09871, allocations: 11.97 kB / 398.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.09873, allocations: 0 / 398.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.928e-06/0.09875, allocations: 4 kB / 398.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.09877, allocations: 7.984 kB / 398.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.09882, allocations: 33.58 kB / 398.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.318e-05/0.09888, allocations: 19.91 kB / 398.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.09889, allocations: 4 kB / 398.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.0989, allocations: 3.938 kB / 398.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.09891, allocations: 0 / 398.5 MB, free: 15.76 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.0003908/0.09931, allocations: 343.7 kB / 398.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.09935, allocations: 12.02 kB / 398.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.09938, allocations: 0.9375 kB / 398.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.09954, allocations: 164.4 kB / 399 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.09956, allocations: 384 / 399 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.09958, allocations: 8.375 kB / 399 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.09978, allocations: 80.8 kB / 399.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.0998, allocations: 4.125 kB / 399.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.09982, allocations: 3.938 kB / 399.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.09983, allocations: 0 / 399.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.1, allocations: 43.97 kB / 399.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.1004, allocations: 281.8 kB / 399.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.1006, allocations: 77.06 kB / 399.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.1007, allocations: 41.77 kB / 399.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.1007, allocations: 0 / 399.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1008, allocations: 34.56 kB / 399.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 2.344e-06/0.1008, allocations: 0 / 399.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003801/0.1011, allocations: 113.4 kB / 399.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.1012, allocations: 106.8 kB / 399.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.258e-05/0.1013, allocations: 97.84 kB / 399.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1013, allocations: 25.95 kB / 399.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.1014, allocations: 92.08 kB / 400 MB, free: 14.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.1014, allocations: 7.906 kB / 400 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.1014, allocations: 9.719 kB / 400 MB, free: 14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1016, allocations: 318.8 kB / 400.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.1016, allocations: 19.98 kB / 400.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.751e-05/0.1018, allocations: 42.56 kB / 400.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.1019, allocations: 57.7 kB / 400.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1019, allocations: 0 / 400.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002255/0.1022, allocations: 85.55 kB / 400.5 MB, free: 13.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.571e-05/0.1022, allocations: 97.92 kB / 400.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1023, allocations: 4 kB / 400.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1023, allocations: 0 / 400.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/0.1024, allocations: 11.98 kB / 400.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1024, allocations: 0 / 400.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.997e-05/0.1024, allocations: 11.98 kB / 400.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1025, allocations: 4 kB / 400.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.1025, allocations: 8 kB / 400.7 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001173/0.1026, allocations: 27.86 kB / 400.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-06/0.1026, allocations: 0 / 400.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-06/0.1026, allocations: 3.938 kB / 400.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.799e-05/0.1027, allocations: 12 kB / 400.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-06/0.1027, allocations: 0 / 400.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.843e-05/0.1027, allocations: 7.984 kB / 400.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-06/0.1027, allocations: 0 / 400.7 MB, free: 13.26 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 0.0001118/0.1028, allocations: 201 kB / 400.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1029, allocations: 11.84 kB / 400.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.1029, allocations: 7.125 kB / 400.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1029, allocations: 0 / 400.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1029, allocations: 4 kB / 400.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1029, allocations: 0 / 400.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.1031, allocations: 157.7 kB / 401.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1031, allocations: 7.938 kB / 401.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.596e-05/0.1032, allocations: 23.92 kB / 401.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1032, allocations: 0 / 401.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1032, allocations: 0 / 401.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1032, allocations: 0 / 401.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1032, allocations: 4 kB / 401.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.1035, allocations: 180.3 kB / 401.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.1035, allocations: 89.05 kB / 401.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.1036, allocations: 0 / 401.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.623e-05/0.1036, allocations: 11.98 kB / 401.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.1037, allocations: 3.984 kB / 401.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1037, allocations: 4 kB / 401.4 MB, free: 12.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.429e-05/0.1037, allocations: 79.61 kB / 401.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1037, allocations: 0 / 401.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003152/0.1041, allocations: 12 kB / 401.5 MB, free: 12.38 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 9.848e-05/0.1042, allocations: 91.39 kB / 401.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000277/0.1045, allocations: 71.95 kB / 401.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1045, allocations: 0 / 401.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.238e-05/0.1046, allocations: 19.98 kB / 401.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.1048, allocations: 15.92 kB / 401.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.1051, allocations: 131.7 kB / 401.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.1054, allocations: 0.677 MB / 402.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.697e-05/0.1055, allocations: 7.984 kB / 402.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.1055, allocations: 11.44 kB / 402.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1055, allocations: 0 / 402.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of Templates: time 0.00264/0.1081, allocations: 0.5318 MB / 403 MB, free: 10.77 MB / 302.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches