Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 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.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_dev_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_dev_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.001458/0.001458, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001583/0.001583, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08237/0.08237, allocations: 16.77 MB / 307.8 MB, free: 14.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 61.89 kB / 372.4 MB, free: 48.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09237/0.09366, allocations: 53.58 MB / 426 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001795/0.09549, allocations: 0.6733 MB / 426.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002089/0.09572, allocations: 55.8 kB / 426.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.09578, allocations: 4 kB / 426.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.09582, allocations: 7.875 kB / 426.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.423e-05/0.0959, allocations: 0 / 426.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.09605, allocations: 15.92 kB / 426.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.763e-05/0.09613, allocations: 23.98 kB / 426.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.601e-05/0.09623, allocations: 4 kB / 426.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.686e-05/0.09627, allocations: 11.98 kB / 426.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.09632, allocations: 19.91 kB / 426.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.09634, allocations: 3.938 kB / 426.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.09636, allocations: 4 kB / 426.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.09638, allocations: 3.938 kB / 426.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.09641, allocations: 7.938 kB / 426.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.785e-05/0.09648, allocations: 19.91 kB / 426.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.09649, allocations: 0 / 426.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.0965, allocations: 8 kB / 426.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.09651, allocations: 0 / 426.8 MB, free: 11.84 MB / 302.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.0003228/0.09684, allocations: 332.6 kB / 427.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.09688, allocations: 8.031 kB / 427.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.09692, allocations: 4.938 kB / 427.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.09704, allocations: 168.7 kB / 427.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.09706, allocations: 384 / 427.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.09708, allocations: 4.375 kB / 427.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.09725, allocations: 80.75 kB / 427.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.09727, allocations: 192 / 427.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.09729, allocations: 7.922 kB / 427.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.0973, allocations: 0 / 427.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.09745, allocations: 35.95 kB / 427.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.09774, allocations: 273.8 kB / 427.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.09791, allocations: 73.19 kB / 427.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.09802, allocations: 37.75 kB / 427.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.09805, allocations: 4 kB / 427.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.09808, allocations: 34.5 kB / 427.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.09808, allocations: 0 / 427.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003319/0.09842, allocations: 93.73 kB / 428 MB, free: 10.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.09847, allocations: 106.8 kB / 428.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.993e-05/0.09852, allocations: 93.86 kB / 428.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.09854, allocations: 33.7 kB / 428.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.487e-05/0.09857, allocations: 84.12 kB / 428.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.09859, allocations: 3.906 kB / 428.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.09862, allocations: 17.72 kB / 428.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.631e-05/0.09867, allocations: 314.9 kB / 428.6 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/0.09876, allocations: 24.84 kB / 428.6 MB, free: 9.785 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.669e-05/0.09885, allocations: 38.48 kB / 428.7 MB, free: 9.738 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.09899, allocations: 49.72 kB / 428.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.099, allocations: 0 / 428.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001773/0.09918, allocations: 77.53 kB / 428.8 MB, free: 9.602 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.0992, allocations: 4 kB / 428.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.09921, allocations: 4 kB / 428.8 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.09923, allocations: 0 / 428.8 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.09932, allocations: 16.05 kB / 428.8 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.09933, allocations: 3.938 kB / 428.8 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.095e-05/0.09939, allocations: 4 kB / 428.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.0994, allocations: 7.938 kB / 428.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.494e-05/0.09946, allocations: 93 kB / 428.9 MB, free: 9.469 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.994e-05/0.0995, allocations: 22.56 kB / 428.9 MB, free: 9.438 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.901e-05/0.09958, allocations: 29.75 kB / 429 MB, free: 9.402 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.81e-07/0.09959, allocations: 0 / 429 MB, free: 9.402 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001077/0.0997, allocations: 65.45 kB / 429 MB, free: 9.332 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.741e-06/0.09971, allocations: 7.984 kB / 429 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-06/0.09972, allocations: 0 / 429 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-06/0.09973, allocations: 4 kB / 429 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.356e-05/0.09976, allocations: 4 kB / 429 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-06/0.09977, allocations: 4.062 kB / 429.1 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.67e-05/0.09981, allocations: 4 kB / 429.1 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-06/0.09982, allocations: 0 / 429.1 MB, free: 9.309 MB / 302.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 4.817e-05/0.09987, allocations: 192.2 kB / 429.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.0999, allocations: 0 / 429.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.851e-05/0.09993, allocations: 7.125 kB / 429.3 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.09993, allocations: 0 / 429.3 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.09994, allocations: 4 kB / 429.3 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.09995, allocations: 0 / 429.3 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.1001, allocations: 173.5 kB / 429.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1001, allocations: 3.984 kB / 429.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.1001, allocations: 8 kB / 429.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1001, allocations: 0 / 429.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1002, allocations: 0 / 429.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1002, allocations: 0 / 429.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1002, allocations: 3.938 kB / 429.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.1004, allocations: 176.7 kB / 429.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.1004, allocations: 85 kB / 429.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.1004, allocations: 4 kB / 429.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.1005, allocations: 4 kB / 429.7 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.1005, allocations: 15.95 kB / 429.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.1005, allocations: 0 / 429.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.304e-05/0.1006, allocations: 87.28 kB / 429.8 MB, free: 8.465 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1006, allocations: 0 / 429.8 MB, free: 8.465 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1009, allocations: 7.938 kB / 429.8 MB, free: 8.457 MB / 302.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 6.745e-05/0.1009, allocations: 95.25 kB / 429.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.1012, allocations: 59.88 kB / 430 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1012, allocations: 256 / 430 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.026e-05/0.1013, allocations: 23.98 kB / 430 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.1015, allocations: 11.88 kB / 430 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.1018, allocations: 143.6 kB / 430.1 MB, free: 8.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.1019, allocations: 0.6807 MB / 430.8 MB, free: 7.375 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.102, allocations: 15.44 kB / 430.8 MB, free: 7.359 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.102, allocations: 0 / 430.8 MB, free: 7.359 MB / 302.1 MB Notification: Performance of Templates: time 0.001686/0.1037, allocations: 0.6161 MB / 431.5 MB, free: 6.742 MB / 302.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_dev_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_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches