Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dev_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_dev_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.00121/0.00121, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001185/0.001186, allocations: 197.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2013/0.2013, allocations: 16.76 MB / 306.7 MB, free: 14.89 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001773, allocations: 63.89 kB / 371.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3528, allocations: 53.54 MB / 424.6 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002018/0.3548, allocations: 0.7341 MB / 425.3 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002055/0.3551, allocations: 61.44 kB / 425.4 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.3551, allocations: 0.5938 kB / 425.4 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.3552, allocations: 3.594 kB / 425.4 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.265e-05/0.3552, allocations: 0 / 425.4 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.3554, allocations: 20.56 kB / 425.4 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.544e-05/0.3555, allocations: 23.59 kB / 425.4 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.874e-05/0.3556, allocations: 10.03 kB / 425.5 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.602e-05/0.3556, allocations: 11.75 kB / 425.5 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.246e-05/0.3557, allocations: 13.66 kB / 425.5 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.3557, allocations: 6.562 kB / 425.5 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.337e-06/0.3557, allocations: 0 / 425.5 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.3557, allocations: 7.562 kB / 425.5 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.3558, allocations: 14.91 kB / 425.5 MB, free: 38.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.199e-05/0.3558, allocations: 21.02 kB / 425.5 MB, free: 38.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3559, allocations: 0 / 425.5 MB, free: 38.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.3559, allocations: 0 / 425.5 MB, free: 38.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3559, allocations: 0 / 425.5 MB, free: 38.79 MB / 350.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.0003564/0.3562, allocations: 334.3 kB / 425.9 MB, free: 38.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.3563, allocations: 19.73 kB / 425.9 MB, free: 38.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.3563, allocations: 5.906 kB / 425.9 MB, free: 38.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.3564, allocations: 164.7 kB / 426 MB, free: 38.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.3565, allocations: 384 / 426 MB, free: 38.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.3565, allocations: 3.375 kB / 426 MB, free: 38.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.3567, allocations: 80.25 kB / 426.1 MB, free: 38.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3567, allocations: 3.125 kB / 426.1 MB, free: 38.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3567, allocations: 7.562 kB / 426.1 MB, free: 38.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3567, allocations: 0 / 426.1 MB, free: 38.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.3569, allocations: 36 kB / 426.2 MB, free: 38.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.3573, allocations: 269 kB / 426.4 MB, free: 37.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.3575, allocations: 76.53 kB / 426.5 MB, free: 37.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.228e-05/0.3576, allocations: 29.67 kB / 426.5 MB, free: 37.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.3576, allocations: 7.422 kB / 426.5 MB, free: 37.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.3576, allocations: 33.94 kB / 426.6 MB, free: 37.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3577, allocations: 0 / 426.6 MB, free: 37.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004237/0.3581, allocations: 93.88 kB / 426.7 MB, free: 37.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.3582, allocations: 110.5 kB / 426.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.645e-05/0.3583, allocations: 98.38 kB / 426.9 MB, free: 37.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.3583, allocations: 25.7 kB / 426.9 MB, free: 37.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.3584, allocations: 84.08 kB / 427 MB, free: 37.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.3584, allocations: 13.3 kB / 427 MB, free: 37.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.3585, allocations: 13.62 kB / 427 MB, free: 37.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3586, allocations: 314.1 kB / 427.3 MB, free: 37.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.3587, allocations: 30.48 kB / 427.3 MB, free: 37.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.3588, allocations: 31.84 kB / 427.4 MB, free: 37.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.359, allocations: 49.45 kB / 427.4 MB, free: 37.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.359, allocations: 4 kB / 427.4 MB, free: 37.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001985/0.3592, allocations: 75.64 kB / 427.5 MB, free: 36.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.3592, allocations: 6.375 kB / 427.5 MB, free: 36.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.3593, allocations: 0.7031 kB / 427.5 MB, free: 36.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.3593, allocations: 6.703 kB / 427.5 MB, free: 36.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.3594, allocations: 8.375 kB / 427.5 MB, free: 36.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.3594, allocations: 3.328 kB / 427.5 MB, free: 36.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.68e-05/0.3595, allocations: 13.28 kB / 427.5 MB, free: 36.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.3595, allocations: 7.031 kB / 427.5 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.195e-05/0.3596, allocations: 89.33 kB / 427.6 MB, free: 36.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.024e-05/0.3597, allocations: 23.81 kB / 427.7 MB, free: 36.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.856e-05/0.3598, allocations: 36.22 kB / 427.7 MB, free: 36.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.315e-06/0.3598, allocations: 3.984 kB / 427.7 MB, free: 36.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001139/0.3599, allocations: 56.7 kB / 427.7 MB, free: 36.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.722e-06/0.3599, allocations: 3.938 kB / 427.8 MB, free: 36.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3599, allocations: 4.391 kB / 427.8 MB, free: 36.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-06/0.3599, allocations: 0 / 427.8 MB, free: 36.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.151e-05/0.36, allocations: 11.47 kB / 427.8 MB, free: 36.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-06/0.36, allocations: 0 / 427.8 MB, free: 36.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.183e-05/0.36, allocations: 9.906 kB / 427.8 MB, free: 36.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-06/0.36, allocations: 0 / 427.8 MB, free: 36.81 MB / 350.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.898e-05/0.3601, allocations: 184.1 kB / 428 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.3601, allocations: 2.812 kB / 428 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.3602, allocations: 9.188 kB / 428 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3602, allocations: 2.562 kB / 428 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3602, allocations: 1.266 kB / 428 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3602, allocations: 2.688 kB / 428 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.3604, allocations: 164.4 kB / 428.1 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3604, allocations: 0 / 428.1 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.3605, allocations: 14.48 kB / 428.2 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3605, allocations: 6.156 kB / 428.2 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3605, allocations: 0 / 428.2 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3605, allocations: 0 / 428.2 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3605, allocations: 2.938 kB / 428.2 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.3608, allocations: 179.7 kB / 428.3 MB, free: 36.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.3608, allocations: 81.02 kB / 428.4 MB, free: 36.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.3608, allocations: 0 / 428.4 MB, free: 36.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.931e-05/0.3609, allocations: 8.594 kB / 428.4 MB, free: 36.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.361, allocations: 6.516 kB / 428.4 MB, free: 36.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.361, allocations: 2.688 kB / 428.4 MB, free: 36.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.718e-05/0.361, allocations: 84.91 kB / 428.5 MB, free: 36.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.114e-06/0.361, allocations: 0 / 428.5 MB, free: 36.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.3613, allocations: 13.53 kB / 428.5 MB, free: 36.11 MB / 350.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.554e-05/0.3614, allocations: 98.73 kB / 428.6 MB, free: 36.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.3617, allocations: 54.41 kB / 428.7 MB, free: 36.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3617, allocations: 2.781 kB / 428.7 MB, free: 36.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.194e-05/0.3618, allocations: 26.03 kB / 428.7 MB, free: 36.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.362, allocations: 13.17 kB / 428.7 MB, free: 36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.3624, allocations: 121.3 kB / 428.8 MB, free: 35.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.3625, allocations: 0.6815 MB / 429.5 MB, free: 35.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.43e-05/0.3626, allocations: 11.23 kB / 429.5 MB, free: 35.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.3626, allocations: 10.56 kB / 429.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3626, allocations: 0 / 429.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of Templates: time 0.0024/0.365, allocations: 0.5318 MB / 430.1 MB, free: 35.13 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_dev_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_dev_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches