Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_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_symb_jac_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.001878/0.001878, allocations: 109.4 kB / 16.28 MB, free: 5.988 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.001989/0.001989, allocations: 192.5 kB / 17.2 MB, free: 5.613 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.717/1.717, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06081/0.06081, allocations: 14.17 MB / 284.6 MB, free: 13.93 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.001884/0.001885, allocations: 71.89 kB / 345.7 MB, free: 0.668 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3364, allocations: 50.12 MB / 395.9 MB, free: 47.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002111/0.3386, allocations: 0.684 MB / 396.6 MB, free: 47.33 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002528/0.3389, allocations: 54.92 kB / 396.6 MB, free: 47.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.3389, allocations: 1.094 kB / 396.6 MB, free: 47.29 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.339, allocations: 0 / 396.6 MB, free: 47.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.314e-05/0.3391, allocations: 3.938 kB / 396.6 MB, free: 47.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.3392, allocations: 24.09 kB / 396.6 MB, free: 47.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.3394, allocations: 31.08 kB / 396.7 MB, free: 47.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.3395, allocations: 6.984 kB / 396.7 MB, free: 47.24 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.403e-05/0.3395, allocations: 12.31 kB / 396.7 MB, free: 47.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.009e-05/0.3396, allocations: 11.98 kB / 396.7 MB, free: 47.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.3396, allocations: 2.5 kB / 396.7 MB, free: 47.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.3396, allocations: 2.656 kB / 396.7 MB, free: 47.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.3397, allocations: 11.92 kB / 396.7 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.3397, allocations: 1.531 kB / 396.7 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.741e-05/0.3398, allocations: 28.48 kB / 396.7 MB, free: 47.19 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3398, allocations: 0 / 396.7 MB, free: 47.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3398, allocations: 5.25 kB / 396.7 MB, free: 47.19 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.3398, allocations: 0 / 396.7 MB, free: 47.19 MB / 318.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.0003956/0.3402, allocations: 337.4 kB / 397.1 MB, free: 46.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3403, allocations: 9.906 kB / 397.1 MB, free: 46.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.3403, allocations: 5.969 kB / 397.1 MB, free: 46.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.3405, allocations: 167.5 kB / 397.3 MB, free: 46.62 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3405, allocations: 5.5 kB / 397.3 MB, free: 46.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.3405, allocations: 1.906 kB / 397.3 MB, free: 46.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.3407, allocations: 79.27 kB / 397.3 MB, free: 46.54 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3407, allocations: 1.656 kB / 397.3 MB, free: 46.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3407, allocations: 3.938 kB / 397.3 MB, free: 46.53 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.3407, allocations: 1.344 kB / 397.3 MB, free: 46.53 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.3409, allocations: 36.5 kB / 397.4 MB, free: 46.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.3413, allocations: 269.9 kB / 397.6 MB, free: 46.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.3414, allocations: 74.34 kB / 397.7 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.29e-05/0.3415, allocations: 36.33 kB / 397.8 MB, free: 46.12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.3416, allocations: 0 / 397.8 MB, free: 46.12 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.3416, allocations: 40.28 kB / 397.8 MB, free: 46.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3416, allocations: 0 / 397.8 MB, free: 46.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003515/0.342, allocations: 98.47 kB / 397.9 MB, free: 46 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.342, allocations: 104.1 kB / 398 MB, free: 45.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.781e-05/0.3421, allocations: 98.94 kB / 398.1 MB, free: 45.78 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.3421, allocations: 29.7 kB / 398.1 MB, free: 45.74 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.3421, allocations: 89.52 kB / 398.2 MB, free: 45.65 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.3422, allocations: 7.094 kB / 398.2 MB, free: 45.65 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.3422, allocations: 14.78 kB / 398.2 MB, free: 45.63 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.402e-05/0.3423, allocations: 320.3 kB / 398.5 MB, free: 45.31 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.948e-05/0.3424, allocations: 27.75 kB / 398.6 MB, free: 45.29 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.338e-05/0.3424, allocations: 34.69 kB / 398.6 MB, free: 45.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.3426, allocations: 47.69 kB / 398.6 MB, free: 45.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3426, allocations: 0 / 398.6 MB, free: 45.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001949/0.3428, allocations: 77.06 kB / 398.7 MB, free: 45.17 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3428, allocations: 5.094 kB / 398.7 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.3428, allocations: 1.312 kB / 398.7 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3429, allocations: 4.062 kB / 398.7 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.343, allocations: 12.17 kB / 398.7 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.343, allocations: 1 kB / 398.7 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.18e-05/0.3431, allocations: 9.547 kB / 398.8 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.3431, allocations: 1.062 kB / 398.8 MB, free: 45.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.284e-05/0.3432, allocations: 88.61 kB / 398.8 MB, free: 45.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.488e-05/0.3432, allocations: 29.22 kB / 398.9 MB, free: 45.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.596e-05/0.3433, allocations: 35.86 kB / 398.9 MB, free: 45.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.81e-07/0.3433, allocations: 1.188 kB / 398.9 MB, free: 45.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001413/0.3435, allocations: 56.62 kB / 399 MB, free: 44.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3435, allocations: 9.469 kB / 399 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-06/0.3435, allocations: 1.469 kB / 399 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-06/0.3435, allocations: 0 / 399 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.045e-05/0.3435, allocations: 13.53 kB / 399 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.3436, allocations: 3.984 kB / 399 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.284e-05/0.3436, allocations: 7.828 kB / 399 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.3436, allocations: 1.094 kB / 399 MB, free: 44.95 MB / 318.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.559e-05/0.3437, allocations: 183.8 kB / 399.2 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.3437, allocations: 2.188 kB / 399.2 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.3438, allocations: 16.17 kB / 399.2 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3438, allocations: 0 / 399.2 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3438, allocations: 1.188 kB / 399.2 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3438, allocations: 5.094 kB / 399.2 MB, free: 44.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.344, allocations: 162.9 kB / 399.4 MB, free: 44.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.344, allocations: 0.9688 kB / 399.4 MB, free: 44.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.607e-05/0.344, allocations: 15.39 kB / 399.4 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.344, allocations: 1.219 kB / 399.4 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.3441, allocations: 1.094 kB / 399.4 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3441, allocations: 0 / 399.4 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3441, allocations: 5.125 kB / 399.4 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/0.3447, allocations: 0.9665 MB / 400.4 MB, free: 43.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.3447, allocations: 85.02 kB / 400.4 MB, free: 43.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.3447, allocations: 1.688 kB / 400.4 MB, free: 43.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.401e-05/0.3448, allocations: 12.58 kB / 400.4 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.3449, allocations: 1.875 kB / 400.4 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.3449, allocations: 1.875 kB / 400.5 MB, free: 43.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.268e-05/0.3449, allocations: 87.56 kB / 400.5 MB, free: 43.35 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3449, allocations: 0 / 400.5 MB, free: 43.35 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004861/0.3454, allocations: 6 kB / 400.5 MB, free: 43.35 MB / 318.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 0.0001117/0.3455, allocations: 96.72 kB / 400.6 MB, free: 43.26 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003065/0.3458, allocations: 56.3 kB / 400.7 MB, free: 43.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3459, allocations: 1.188 kB / 400.7 MB, free: 43.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.658e-05/0.346, allocations: 26.14 kB / 400.7 MB, free: 43.22 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.3462, allocations: 6.438 kB / 400.7 MB, free: 43.22 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.3467, allocations: 225.9 kB / 400.9 MB, free: 42.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.3469, allocations: 0.677 MB / 401.6 MB, free: 42.28 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.413e-05/0.347, allocations: 10.14 kB / 401.6 MB, free: 42.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.347, allocations: 9.562 kB / 401.6 MB, free: 42.27 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.347, allocations: 1.031 kB / 401.6 MB, free: 42.27 MB / 318.1 MB Notification: Performance of Templates: time 0.003903/0.3509, allocations: 0.6415 MB / 402.3 MB, free: 41.94 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches