Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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 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.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_symb_jac_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_symb_jac_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.001906/0.001906, allocations: 111.8 kB / 16.42 MB, free: 6.496 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.001913/0.001914, allocations: 185.5 kB / 17.35 MB, free: 5.762 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.558/1.558, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0637/0.0637, allocations: 14.16 MB / 284.7 MB, free: 13.86 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.001386/0.001386, allocations: 68.81 kB / 397.1 MB, free: 43.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0909/0.09229, allocations: 50.13 MB / 447.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001929/0.09427, allocations: 0.6707 MB / 448 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002601/0.09455, allocations: 56.16 kB / 448 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.0946, allocations: 0 / 448 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.09465, allocations: 7.922 kB / 448 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.548e-05/0.09475, allocations: 0 / 448 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.09493, allocations: 27.84 kB / 448 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.57e-05/0.09503, allocations: 19.98 kB / 448.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.09516, allocations: 4 kB / 448.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.047e-05/0.09519, allocations: 12 kB / 448.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.41e-05/0.09526, allocations: 11.92 kB / 448.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.09529, allocations: 0 / 448.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.09531, allocations: 4 kB / 448.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.09533, allocations: 11.92 kB / 448.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.09536, allocations: 11.92 kB / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.01e-05/0.09546, allocations: 19.92 kB / 448.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.09547, allocations: 4 kB / 448.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.09548, allocations: 0 / 448.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.09549, allocations: 0 / 448.1 MB, free: 12.82 MB / 334.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.000436/0.09593, allocations: 335.5 kB / 448.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.09598, allocations: 8.031 kB / 448.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.09602, allocations: 4.938 kB / 448.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.09619, allocations: 172.3 kB / 448.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.0962, allocations: 384 / 448.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.09622, allocations: 8.375 kB / 448.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.09642, allocations: 76.75 kB / 448.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-06/0.09644, allocations: 192 / 448.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.09645, allocations: 3.938 kB / 448.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.09646, allocations: 0 / 448.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.09663, allocations: 35.95 kB / 448.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.09701, allocations: 265.9 kB / 449 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.0972, allocations: 69.06 kB / 449.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.742e-05/0.09731, allocations: 29.77 kB / 449.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.09734, allocations: 8 kB / 449.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.09737, allocations: 38.5 kB / 449.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.09738, allocations: 0 / 449.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003822/0.09776, allocations: 81.64 kB / 449.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.09784, allocations: 111 kB / 449.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.01e-05/0.09792, allocations: 109.8 kB / 449.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.09794, allocations: 25.7 kB / 449.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.09799, allocations: 80.14 kB / 449.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.09802, allocations: 15.75 kB / 449.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.09806, allocations: 17.66 kB / 449.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.09818, allocations: 322.8 kB / 449.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.513e-05/0.09828, allocations: 24.84 kB / 449.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.09839, allocations: 34.56 kB / 450 MB, free: 10.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.09857, allocations: 45.67 kB / 450 MB, free: 10.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.09858, allocations: 7.969 kB / 450 MB, free: 10.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002024/0.09879, allocations: 69.61 kB / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.09881, allocations: 8 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.09882, allocations: 0 / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.09884, allocations: 3.984 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.921e-05/0.09893, allocations: 12 kB / 450.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.09895, allocations: 0 / 450.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.456e-05/0.09901, allocations: 15.98 kB / 450.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.09903, allocations: 4 kB / 450.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.786e-05/0.09912, allocations: 88.12 kB / 450.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.182e-05/0.09918, allocations: 26.56 kB / 450.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.647e-05/0.09926, allocations: 29.7 kB / 450.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.01e-07/0.09927, allocations: 4.031 kB / 450.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001216/0.0994, allocations: 57.56 kB / 450.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.695e-06/0.09942, allocations: 4 kB / 450.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.09943, allocations: 4 kB / 450.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-06/0.09943, allocations: 0 / 450.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.714e-05/0.09948, allocations: 7.984 kB / 450.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-06/0.09948, allocations: 0 / 450.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.917e-05/0.09953, allocations: 4 kB / 450.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-06/0.09954, allocations: 4.062 kB / 450.4 MB, free: 10.29 MB / 334.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.679e-05/0.09964, allocations: 188.1 kB / 450.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.09967, allocations: 3.906 kB / 450.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.0997, allocations: 15.08 kB / 450.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.09971, allocations: 0 / 450.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.09972, allocations: 0 / 450.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.09973, allocations: 7.922 kB / 450.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.0999, allocations: 165.6 kB / 450.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.09991, allocations: 0 / 450.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-05/0.09998, allocations: 19.98 kB / 450.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.09999, allocations: 0 / 450.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.1, allocations: 3.938 kB / 450.8 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1, allocations: 0 / 450.8 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1, allocations: 4 kB / 450.8 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006666/0.1007, allocations: 0.9579 MB / 451.7 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.1007, allocations: 81.11 kB / 451.8 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.1008, allocations: 0 / 451.8 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.472e-05/0.1008, allocations: 19.86 kB / 451.8 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.1009, allocations: 8 kB / 451.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.1009, allocations: 0 / 451.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.713e-05/0.101, allocations: 83.69 kB / 451.9 MB, free: 8.602 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.101, allocations: 0 / 451.9 MB, free: 8.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004953/0.1015, allocations: 8 kB / 451.9 MB, free: 8.594 MB / 334.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.594e-05/0.1016, allocations: 99.19 kB / 452 MB, free: 8.484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.1018, allocations: 55.95 kB / 452.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1019, allocations: 0 / 452.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.084e-05/0.102, allocations: 27.92 kB / 452.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.1022, allocations: 0.7812 kB / 452.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.1026, allocations: 236.9 kB / 452.3 MB, free: 8.129 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.1028, allocations: 0.6808 MB / 453 MB, free: 7.422 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.186e-05/0.1029, allocations: 3.984 kB / 453 MB, free: 7.418 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.1029, allocations: 11.44 kB / 453 MB, free: 7.406 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1029, allocations: 0 / 453 MB, free: 7.406 MB / 334.1 MB Notification: Performance of Templates: time 0.0027/0.1056, allocations: 0.6143 MB / 453.6 MB, free: 6.797 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches