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.001544/0.001544, allocations: 112.5 kB / 17.09 MB, free: 5.961 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.001226/0.001226, allocations: 195.8 kB / 18.02 MB, free: 5.043 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.277/1.277, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06416/0.06416, allocations: 14.16 MB / 285.4 MB, free: 13.85 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.001352/0.001352, allocations: 70.89 kB / 397.8 MB, free: 43.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06792/0.06928, allocations: 50.14 MB / 448 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001698/0.07101, allocations: 0.6668 MB / 448.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002066/0.07123, allocations: 64.12 kB / 448.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.07128, allocations: 4 kB / 448.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.203e-05/0.07131, allocations: 3.938 kB / 448.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.912e-05/0.07138, allocations: 0 / 448.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.07151, allocations: 15.92 kB / 448.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.059e-05/0.0716, allocations: 23.92 kB / 448.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.067e-05/0.07169, allocations: 4 kB / 448.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.799e-05/0.07172, allocations: 15.97 kB / 448.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.07177, allocations: 11.94 kB / 448.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.07179, allocations: 4 kB / 448.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.07181, allocations: 4 kB / 448.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.07183, allocations: 11.92 kB / 448.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.065e-05/0.07186, allocations: 3.938 kB / 448.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.383e-05/0.07192, allocations: 19.98 kB / 448.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.07193, allocations: 3.938 kB / 448.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.07194, allocations: 0 / 448.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.07195, allocations: 7.984 kB / 448.8 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.0003549/0.07231, allocations: 327.5 kB / 449.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.07235, allocations: 12.03 kB / 449.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.07238, allocations: 0.9375 kB / 449.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.07253, allocations: 172.3 kB / 449.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.07255, allocations: 4.312 kB / 449.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.07256, allocations: 4.375 kB / 449.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.07275, allocations: 72.75 kB / 449.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.07277, allocations: 4.188 kB / 449.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.07279, allocations: 7.938 kB / 449.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.0728, allocations: 0 / 449.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.07296, allocations: 35.95 kB / 449.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.07329, allocations: 269.8 kB / 449.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.07346, allocations: 69.12 kB / 449.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.288e-05/0.07356, allocations: 33.75 kB / 449.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.07358, allocations: 0 / 449.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.07362, allocations: 42.5 kB / 449.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.07363, allocations: 0 / 449.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003376/0.07397, allocations: 89.58 kB / 449.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.07403, allocations: 102.8 kB / 450 MB, free: 11.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.07411, allocations: 98 kB / 450.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.07413, allocations: 33.95 kB / 450.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.07417, allocations: 80.14 kB / 450.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.0742, allocations: 15.73 kB / 450.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.07424, allocations: 17.72 kB / 450.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.07433, allocations: 310.8 kB / 450.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-05/0.07443, allocations: 24.84 kB / 450.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.976e-05/0.07452, allocations: 46.58 kB / 450.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.07468, allocations: 45.62 kB / 450.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.07469, allocations: 0 / 450.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002065/0.0749, allocations: 77.62 kB / 450.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.07492, allocations: 4 kB / 450.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.07493, allocations: 7.938 kB / 450.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.07494, allocations: 0 / 450.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.214e-05/0.07503, allocations: 8 kB / 450.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.07504, allocations: 7.922 kB / 450.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.0751, allocations: 4 kB / 450.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.07511, allocations: 4 kB / 450.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.213e-05/0.07519, allocations: 96.19 kB / 450.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.241e-05/0.07525, allocations: 18.58 kB / 450.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.565e-05/0.07533, allocations: 29.7 kB / 451 MB, free: 10.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.31e-07/0.07534, allocations: 0 / 451 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001237/0.07547, allocations: 65.58 kB / 451 MB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.602e-06/0.07548, allocations: 4 kB / 451 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-06/0.07549, allocations: 0 / 451 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-06/0.0755, allocations: 4 kB / 451 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.631e-05/0.07554, allocations: 7.984 kB / 451 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-06/0.07555, allocations: 3.938 kB / 451 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.767e-05/0.07559, allocations: 4 kB / 451 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-06/0.0756, allocations: 0 / 451 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 8.964e-05/0.07569, allocations: 196.2 kB / 451.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.07572, allocations: 3.906 kB / 451.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.07575, allocations: 19 kB / 451.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.07576, allocations: 0 / 451.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.07576, allocations: 4 kB / 451.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.07577, allocations: 0 / 451.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.07593, allocations: 165.6 kB / 451.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.07594, allocations: 0 / 451.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.046e-05/0.07601, allocations: 11.98 kB / 451.4 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.07602, allocations: 0 / 451.4 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.07603, allocations: 4 kB / 451.4 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.07603, allocations: 0 / 451.4 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.07604, allocations: 0 / 451.4 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005878/0.07663, allocations: 0.9618 MB / 452.4 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.07669, allocations: 77.11 kB / 452.5 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.07671, allocations: 7.984 kB / 452.5 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.0768, allocations: 7.938 kB / 452.5 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.07684, allocations: 11.92 kB / 452.5 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.07685, allocations: 0 / 452.5 MB, free: 8.691 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.534e-05/0.07689, allocations: 87.28 kB / 452.6 MB, free: 8.605 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.07689, allocations: 0 / 452.6 MB, free: 8.605 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005092/0.07741, allocations: 4 kB / 452.6 MB, free: 8.602 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.03e-05/0.0775, allocations: 99.19 kB / 452.7 MB, free: 8.492 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.07775, allocations: 51.95 kB / 452.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.07777, allocations: 256 / 452.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.576e-05/0.07786, allocations: 35.91 kB / 452.8 MB, free: 8.406 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.07808, allocations: 0 / 452.8 MB, free: 8.406 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.07845, allocations: 254.3 kB / 453 MB, free: 8.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.07869, allocations: 0.6807 MB / 453.7 MB, free: 7.402 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.07872, allocations: 11.56 kB / 453.7 MB, free: 7.391 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.07873, allocations: 0 / 453.7 MB, free: 7.391 MB / 334.1 MB Notification: Performance of Templates: time 0.001866/0.0806, allocations: 0.6293 MB / 454.3 MB, free: 6.766 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches