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.001474/0.001474, allocations: 110.2 kB / 16.41 MB, free: 6.449 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.001634/0.001634, allocations: 193.4 kB / 17.34 MB, free: 5.738 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.323/1.323, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06388/0.06388, allocations: 14.16 MB / 284.7 MB, free: 13.87 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.001406/0.001406, allocations: 70.97 kB / 397.1 MB, free: 43.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06834/0.06975, allocations: 50.14 MB / 447.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001731/0.07152, allocations: 0.6818 MB / 448 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002231/0.07176, allocations: 60.14 kB / 448 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/0.07181, allocations: 0 / 448 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.07186, allocations: 7.938 kB / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.226e-05/0.07194, allocations: 0 / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.0721, allocations: 27.91 kB / 448.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.228e-05/0.0722, allocations: 23.92 kB / 448.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.205e-05/0.0723, allocations: 7.984 kB / 448.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.387e-05/0.07234, allocations: 8 kB / 448.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.35e-05/0.0724, allocations: 15.92 kB / 448.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.07242, allocations: 4 kB / 448.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.126e-06/0.07243, allocations: 0 / 448.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.07246, allocations: 15.92 kB / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.07249, allocations: 11.92 kB / 448.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.464e-05/0.07257, allocations: 27.91 kB / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.07258, allocations: 0 / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.07258, allocations: 0 / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.0726, allocations: 0 / 448.2 MB, free: 12.8 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.000404/0.073, allocations: 327.5 kB / 448.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.07305, allocations: 12.03 kB / 448.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.07309, allocations: 0.9375 kB / 448.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.07325, allocations: 172.3 kB / 448.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-06/0.07326, allocations: 384 / 448.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.07328, allocations: 8.375 kB / 448.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.07348, allocations: 76.73 kB / 448.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.0735, allocations: 192 / 448.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.07351, allocations: 7.938 kB / 448.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.07352, allocations: 0 / 448.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.07369, allocations: 31.97 kB / 448.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.07404, allocations: 273.8 kB / 449.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.07423, allocations: 69.06 kB / 449.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.865e-05/0.07434, allocations: 37.83 kB / 449.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.07437, allocations: 0 / 449.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.0744, allocations: 34.5 kB / 449.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.0744, allocations: 0 / 449.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003605/0.07477, allocations: 93.64 kB / 449.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.07484, allocations: 110.7 kB / 449.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.211e-05/0.07491, allocations: 101.8 kB / 449.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.07494, allocations: 25.7 kB / 449.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.07498, allocations: 84.14 kB / 449.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.07501, allocations: 11.75 kB / 449.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.07505, allocations: 17.97 kB / 449.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.07515, allocations: 318.8 kB / 449.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.9e-05/0.07526, allocations: 24.84 kB / 450 MB, free: 10.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.115e-05/0.07535, allocations: 34.75 kB / 450 MB, free: 10.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.07552, allocations: 49.66 kB / 450.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.07553, allocations: 0 / 450.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002035/0.07574, allocations: 73.69 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.07576, allocations: 11.94 kB / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.07577, allocations: 0 / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.07579, allocations: 8.047 kB / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.906e-05/0.07588, allocations: 11.98 kB / 450.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.0759, allocations: 3.938 kB / 450.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.928e-05/0.07596, allocations: 11.98 kB / 450.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.07598, allocations: 4 kB / 450.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.671e-05/0.07606, allocations: 84.14 kB / 450.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.85e-05/0.07612, allocations: 26.56 kB / 450.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.713e-05/0.0762, allocations: 33.73 kB / 450.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.11e-07/0.07621, allocations: 0 / 450.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001211/0.07634, allocations: 57.56 kB / 450.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.07635, allocations: 8 kB / 450.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-06/0.07636, allocations: 0 / 450.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-06/0.07636, allocations: 0 / 450.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.43e-05/0.07642, allocations: 8.062 kB / 450.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-06/0.07642, allocations: 0 / 450.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.184e-05/0.07647, allocations: 7.984 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.07648, allocations: 4 kB / 450.4 MB, free: 10.27 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 7.653e-05/0.07656, allocations: 180.2 kB / 450.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.07659, allocations: 7.906 kB / 450.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.07662, allocations: 15.08 kB / 450.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.07663, allocations: 3.938 kB / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.07664, allocations: 4 kB / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.07665, allocations: 0 / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.07681, allocations: 169.6 kB / 450.8 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.07682, allocations: 0 / 450.8 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.437e-05/0.07689, allocations: 11.98 kB / 450.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.0769, allocations: 0 / 450.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.07691, allocations: 0 / 450.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.07692, allocations: 7.938 kB / 450.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.07692, allocations: 0 / 450.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.07719, allocations: 176.3 kB / 451 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.07724, allocations: 81.11 kB / 451 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.07726, allocations: 0 / 451 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.07735, allocations: 15.92 kB / 451.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.07739, allocations: 3.938 kB / 451.1 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.0774, allocations: 0 / 451.1 MB, free: 9.508 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.28e-05/0.07744, allocations: 91.27 kB / 451.2 MB, free: 9.418 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.07744, allocations: 0 / 451.2 MB, free: 9.418 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.07772, allocations: 8 kB / 451.2 MB, free: 9.41 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.617e-05/0.07781, allocations: 91.25 kB / 451.2 MB, free: 9.309 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002692/0.07809, allocations: 60.08 kB / 451.3 MB, free: 9.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.0781, allocations: 4.062 kB / 451.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.616e-05/0.07819, allocations: 15.98 kB / 451.3 MB, free: 9.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.07842, allocations: 11.94 kB / 451.3 MB, free: 9.219 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.07877, allocations: 155.3 kB / 451.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.07901, allocations: 0.6808 MB / 452.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.07905, allocations: 7.438 kB / 452.2 MB, free: 8.316 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.07905, allocations: 0 / 452.2 MB, free: 8.316 MB / 334.1 MB Notification: Performance of Templates: time 0.001756/0.08081, allocations: 0.6457 MB / 452.8 MB, free: 7.672 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches