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.005662/0.005662, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001149/0.001149, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.521/1.521, allocations: 205.1 MB / 222.6 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06233/0.06233, allocations: 14.18 MB / 284.1 MB, free: 6.949 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.001747/0.001747, allocations: 72.12 kB / 396.5 MB, free: 8 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3131, allocations: 50.13 MB / 446.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001884/0.3151, allocations: 0.6796 MB / 447.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002531/0.3153, allocations: 64.22 kB / 447.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.899e-05/0.3154, allocations: 0 / 447.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/0.3154, allocations: 3.938 kB / 447.4 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.215e-05/0.3155, allocations: 9.328 kB / 447.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.3157, allocations: 15.27 kB / 447.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.3158, allocations: 22.98 kB / 447.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.316, allocations: 11.28 kB / 447.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.607e-05/0.316, allocations: 19.39 kB / 447.4 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.3161, allocations: 10.83 kB / 447.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.3161, allocations: 0 / 447.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.168e-06/0.3161, allocations: 2.219 kB / 447.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.3161, allocations: 11.58 kB / 447.5 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.3162, allocations: 7.938 kB / 447.5 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.747e-05/0.3163, allocations: 19.41 kB / 447.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3163, allocations: 0 / 447.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3163, allocations: 0 / 447.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3163, allocations: 7.562 kB / 447.5 MB, free: 1.445 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.0004131/0.3167, allocations: 333.8 kB / 447.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3168, allocations: 10.97 kB / 447.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.3168, allocations: 0.9375 kB / 447.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.317, allocations: 175 kB / 448 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-06/0.317, allocations: 384 / 448 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.317, allocations: 8.172 kB / 448 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.3172, allocations: 87.27 kB / 448.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.3172, allocations: 192 / 448.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3172, allocations: 3.938 kB / 448.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3172, allocations: 0 / 448.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.3174, allocations: 36.11 kB / 448.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.3178, allocations: 274.1 kB / 448.4 MB, free: 480 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.3179, allocations: 65.97 kB / 448.5 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.389e-05/0.318, allocations: 39.11 kB / 448.5 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.3181, allocations: 5.828 kB / 448.5 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.3181, allocations: 34.5 kB / 448.5 MB, free: 336 kB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3181, allocations: 0 / 448.5 MB, free: 336 kB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003556/0.3184, allocations: 91.39 kB / 448.6 MB, free: 276 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.3185, allocations: 112.3 kB / 448.7 MB, free: 140 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.746e-05/0.3186, allocations: 98.36 kB / 448.8 MB, free: 36 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.3186, allocations: 25.7 kB / 448.9 MB, free: 4 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.3187, allocations: 81.55 kB / 448.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.3187, allocations: 13.41 kB / 448.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.3187, allocations: 17.39 kB / 449 MB, free: 15.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3189, allocations: 316.2 kB / 449.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.581e-05/0.3189, allocations: 23.09 kB / 449.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.067e-05/0.319, allocations: 38.58 kB / 449.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.3192, allocations: 51.75 kB / 449.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3192, allocations: 3.938 kB / 449.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002046/0.3194, allocations: 78.16 kB / 449.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3195, allocations: 9.344 kB / 449.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3195, allocations: 0 / 449.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3195, allocations: 1.5 kB / 449.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/0.3196, allocations: 7.344 kB / 449.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3196, allocations: 5.5 kB / 449.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.679e-05/0.3197, allocations: 12.22 kB / 449.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.3197, allocations: 1.344 kB / 449.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.633e-05/0.3198, allocations: 93.28 kB / 449.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.544e-05/0.3198, allocations: 20.17 kB / 449.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.61e-05/0.3199, allocations: 32.61 kB / 449.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.22e-07/0.3199, allocations: 5.812 kB / 449.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001152/0.32, allocations: 52.16 kB / 449.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.705e-06/0.3201, allocations: 5.219 kB / 449.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-06/0.3201, allocations: 1.75 kB / 449.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-06/0.3201, allocations: 0 / 449.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.813e-05/0.3201, allocations: 9.391 kB / 449.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3201, allocations: 1.781 kB / 449.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.943e-05/0.3202, allocations: 12.94 kB / 449.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-06/0.3202, allocations: 0 / 449.7 MB, free: 15.21 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.000115/0.3203, allocations: 190 kB / 449.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.3203, allocations: 1.75 kB / 449.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.3204, allocations: 12.86 kB / 449.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3204, allocations: 2.188 kB / 449.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3204, allocations: 4 kB / 449.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3204, allocations: 0 / 449.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.3206, allocations: 163.3 kB / 450.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3206, allocations: 6.25 kB / 450.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.3207, allocations: 14 kB / 450.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3207, allocations: 1.312 kB / 450.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.3207, allocations: 1.188 kB / 450.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3207, allocations: 0 / 450.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3207, allocations: 1.406 kB / 450.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.321, allocations: 185.3 kB / 450.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.321, allocations: 81.09 kB / 450.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.321, allocations: 1.5 kB / 450.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.3211, allocations: 4.625 kB / 450.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.3212, allocations: 9.578 kB / 450.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.3212, allocations: 1.688 kB / 450.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.373e-05/0.3212, allocations: 78.5 kB / 450.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3212, allocations: 4 kB / 450.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000266/0.3215, allocations: 14.72 kB / 450.5 MB, free: 14.43 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.401e-05/0.3216, allocations: 95.84 kB / 450.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.3219, allocations: 53.89 kB / 450.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3219, allocations: 256 / 450.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.869e-05/0.322, allocations: 29.72 kB / 450.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.3222, allocations: 6.688 kB / 450.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/0.3226, allocations: 123.7 kB / 450.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.3229, allocations: 0.6769 MB / 451.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.491e-05/0.3229, allocations: 5.5 kB / 451.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.323, allocations: 10.19 kB / 451.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.323, allocations: 0 / 451.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of Templates: time 0.00295/0.3259, allocations: 0.6419 MB / 452.1 MB, free: 13.13 MB / 334.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches