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.001463/0.001463, allocations: 109.6 kB / 16.42 MB, free: 6.445 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.001469/0.00147, allocations: 185.5 kB / 17.35 MB, free: 5.723 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.585/1.585, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06761/0.06761, allocations: 14.17 MB / 284.8 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.002152/0.002152, allocations: 69.5 kB / 397.2 MB, free: 43.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08475/0.08691, allocations: 50.14 MB / 447.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.002252/0.08922, allocations: 0.6707 MB / 448 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002585/0.08951, allocations: 64.08 kB / 448 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.08956, allocations: 0 / 448 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.08962, allocations: 0 / 448 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.634e-05/0.0897, allocations: 7.922 kB / 448 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.08985, allocations: 12 kB / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.08997, allocations: 27.86 kB / 448.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.09007, allocations: 11.98 kB / 448.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.942e-05/0.09011, allocations: 8 kB / 448.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.281e-05/0.09016, allocations: 15.92 kB / 448.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.09019, allocations: 4 kB / 448.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.09021, allocations: 4 kB / 448.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.09023, allocations: 7.984 kB / 448.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.09026, allocations: 7.922 kB / 448.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.607e-05/0.09035, allocations: 23.86 kB / 448.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.09037, allocations: 4 kB / 448.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.09037, allocations: 0 / 448.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.09039, allocations: 0 / 448.2 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.0004527/0.09085, allocations: 335.5 kB / 448.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.09089, allocations: 12.03 kB / 448.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.09094, allocations: 4.938 kB / 448.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.09113, allocations: 164.3 kB / 448.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.09115, allocations: 8.359 kB / 448.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.09117, allocations: 384 / 448.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.09139, allocations: 72.81 kB / 448.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.0914, allocations: 192 / 448.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.09142, allocations: 7.938 kB / 448.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.09143, allocations: 3.984 kB / 448.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.09161, allocations: 35.91 kB / 448.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.09202, allocations: 265.8 kB / 449 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.09224, allocations: 73.06 kB / 449.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.09235, allocations: 29.77 kB / 449.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.09238, allocations: 4 kB / 449.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.09242, allocations: 34.56 kB / 449.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.09243, allocations: 0 / 449.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003952/0.09283, allocations: 93.53 kB / 449.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.09291, allocations: 106.8 kB / 449.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/0.09301, allocations: 106 kB / 449.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.09304, allocations: 29.7 kB / 449.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.0931, allocations: 84.12 kB / 449.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.09313, allocations: 3.953 kB / 449.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.09318, allocations: 17.72 kB / 449.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.09332, allocations: 314.8 kB / 449.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.991e-05/0.09343, allocations: 24.84 kB / 450 MB, free: 10.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.09354, allocations: 38.5 kB / 450 MB, free: 10.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.09371, allocations: 45.69 kB / 450 MB, free: 10.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.09372, allocations: 4 kB / 450 MB, free: 10.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002173/0.09395, allocations: 77.56 kB / 450.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.09397, allocations: 11.94 kB / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.09398, allocations: 0 / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.094, allocations: 0 / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/0.09409, allocations: 11.98 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.09411, allocations: 0 / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.09417, allocations: 15.88 kB / 450.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.09419, allocations: 4 kB / 450.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.967e-05/0.09428, allocations: 92.2 kB / 450.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.324e-05/0.09434, allocations: 22.56 kB / 450.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.452e-05/0.09443, allocations: 33.64 kB / 450.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.92e-07/0.09444, allocations: 0 / 450.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001329/0.09458, allocations: 57.66 kB / 450.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.0946, allocations: 8 kB / 450.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.0946, allocations: 3.938 kB / 450.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-06/0.09461, allocations: 0 / 450.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.522e-05/0.09465, allocations: 4 kB / 450.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-06/0.09466, allocations: 0 / 450.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.119e-05/0.0947, allocations: 7.984 kB / 450.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.09471, allocations: 4 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 0.0001036/0.09482, allocations: 192.2 kB / 450.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.09485, allocations: 4 kB / 450.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.939e-05/0.09488, allocations: 7.078 kB / 450.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.09488, allocations: 0 / 450.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.09489, allocations: 0 / 450.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.0949, allocations: 0 / 450.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.0951, allocations: 173.6 kB / 450.8 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.09511, allocations: 0 / 450.8 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.954e-05/0.09517, allocations: 11.98 kB / 450.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.09518, allocations: 0 / 450.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.0952, allocations: 4 kB / 450.8 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/0.09521, allocations: 7.984 kB / 450.8 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.09522, allocations: 3.938 kB / 450.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007103/0.09593, allocations: 0.966 MB / 451.7 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.09599, allocations: 85.14 kB / 451.8 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.09601, allocations: 0 / 451.8 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-05/0.0961, allocations: 15.86 kB / 451.8 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.09615, allocations: 4 kB / 451.8 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.09616, allocations: 0 / 451.8 MB, free: 8.688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.63e-05/0.09621, allocations: 87.28 kB / 451.9 MB, free: 8.602 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09622, allocations: 0 / 451.9 MB, free: 8.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000487/0.09671, allocations: 11.98 kB / 451.9 MB, free: 8.59 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 8.903e-05/0.0968, allocations: 91.25 kB / 452 MB, free: 8.488 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002654/0.09707, allocations: 55.89 kB / 452.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.09709, allocations: 4.25 kB / 452.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.522e-05/0.09719, allocations: 23.98 kB / 452.1 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.0002077/0.0974, allocations: 0.9375 kB / 452.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.0978, allocations: 228.4 kB / 452.3 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.09811, allocations: 0.6808 MB / 453 MB, free: 7.434 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.347e-05/0.09815, allocations: 4 kB / 453 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.09818, allocations: 11.44 kB / 453 MB, free: 7.418 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.09819, allocations: 0 / 453 MB, free: 7.418 MB / 334.1 MB Notification: Performance of Templates: time 0.002839/0.101, allocations: 0.618 MB / 453.7 MB, free: 6.805 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=50 -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