Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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 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.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_symb_jac_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_symb_jac_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.001376/0.001376, allocations: 105.7 kB / 15.99 MB, free: 5.859 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.00147/0.00147, allocations: 194.1 kB / 16.91 MB, free: 5.734 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.622/1.622, allocations: 205.1 MB / 222.8 MB, free: 4.969 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06102/0.06102, allocations: 14.16 MB / 284.3 MB, free: 7.523 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.001444/0.001444, allocations: 71.91 kB / 345.2 MB, free: 19.76 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1249, allocations: 50.13 MB / 395.4 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.002689/0.1277, allocations: 0.7481 MB / 396.1 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000273/0.128, allocations: 59.8 kB / 396.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.618e-05/0.128, allocations: 0 / 396.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.257e-05/0.1281, allocations: 0 / 396.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.1282, allocations: 3.984 kB / 396.2 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.1284, allocations: 23.94 kB / 396.2 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.1285, allocations: 19.98 kB / 396.2 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1287, allocations: 11.92 kB / 396.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.917e-05/0.1287, allocations: 15.92 kB / 396.2 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.283e-05/0.1288, allocations: 8 kB / 396.2 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.1288, allocations: 0 / 396.2 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.1288, allocations: 4 kB / 396.2 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.1288, allocations: 7.922 kB / 396.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.1289, allocations: 7.938 kB / 396.3 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.59e-05/0.129, allocations: 15.92 kB / 396.3 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.129, allocations: 4 kB / 396.3 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.129, allocations: 4 kB / 396.3 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.129, allocations: 0 / 396.3 MB, free: 0.6484 MB / 286.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.0005431/0.1296, allocations: 343.7 kB / 396.6 MB, free: 268 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1296, allocations: 8.031 kB / 396.6 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.1297, allocations: 0.9375 kB / 396.6 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.1299, allocations: 172.4 kB / 396.8 MB, free: 48 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1299, allocations: 384 / 396.8 MB, free: 48 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.13, allocations: 4.375 kB / 396.8 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.1302, allocations: 72.81 kB / 396.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1303, allocations: 4.125 kB / 396.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.1303, allocations: 3.938 kB / 396.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1303, allocations: 0 / 396.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.1305, allocations: 35.95 kB / 396.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.131, allocations: 265.9 kB / 397.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.1313, allocations: 69.06 kB / 397.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.1314, allocations: 37.75 kB / 397.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.1315, allocations: 7.938 kB / 397.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.1315, allocations: 34.56 kB / 397.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.1315, allocations: 0 / 397.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004797/0.132, allocations: 93.58 kB / 397.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.944e-05/0.1321, allocations: 102.8 kB / 397.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.1322, allocations: 105.8 kB / 397.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.1323, allocations: 25.7 kB / 397.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.1324, allocations: 80.14 kB / 397.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.1324, allocations: 11.89 kB / 397.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.1324, allocations: 13.72 kB / 397.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1326, allocations: 319 kB / 398.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.1327, allocations: 20.84 kB / 398.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1329, allocations: 38.55 kB / 398.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.1331, allocations: 45.72 kB / 398.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1331, allocations: 0 / 398.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002713/0.1334, allocations: 81.81 kB / 398.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1334, allocations: 4 kB / 398.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.1334, allocations: 7.938 kB / 398.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1335, allocations: 4.062 kB / 398.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.1336, allocations: 8 kB / 398.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.1336, allocations: 3.984 kB / 398.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.1337, allocations: 4 kB / 398.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.1337, allocations: 7.984 kB / 398.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001052/0.1338, allocations: 88.12 kB / 398.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.587e-05/0.1339, allocations: 26.52 kB / 398.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001021/0.134, allocations: 33.73 kB / 398.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.52e-07/0.134, allocations: 0 / 398.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001679/0.1342, allocations: 61.47 kB / 398.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.1342, allocations: 4 kB / 398.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.1342, allocations: 4 kB / 398.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-06/0.1342, allocations: 0 / 398.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.674e-05/0.1343, allocations: 12.05 kB / 398.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-06/0.1343, allocations: 0 / 398.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.014e-05/0.1344, allocations: 4 kB / 398.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-06/0.1344, allocations: 0 / 398.5 MB, free: 14.12 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 0.0001147/0.1345, allocations: 193.2 kB / 398.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.1345, allocations: 3.938 kB / 398.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.1346, allocations: 15.11 kB / 398.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1346, allocations: 0 / 398.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.1346, allocations: 4 kB / 398.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1346, allocations: 4 kB / 398.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.1349, allocations: 161.6 kB / 398.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1349, allocations: 0 / 398.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.75e-05/0.135, allocations: 15.92 kB / 398.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.135, allocations: 0 / 398.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.135, allocations: 0 / 398.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.135, allocations: 0 / 398.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.135, allocations: 4 kB / 398.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008639/0.1359, allocations: 0.9617 MB / 399.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.1359, allocations: 81.11 kB / 399.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.136, allocations: 7.984 kB / 399.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.1361, allocations: 11.94 kB / 400 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.1362, allocations: 7.984 kB / 400 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1362, allocations: 0 / 400 MB, free: 12.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.207e-05/0.1362, allocations: 79.28 kB / 400 MB, free: 12.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1362, allocations: 0 / 400 MB, free: 12.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007381/0.137, allocations: 8 kB / 400.1 MB, free: 12.43 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 0.0001271/0.1371, allocations: 103.2 kB / 400.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003501/0.1375, allocations: 51.89 kB / 400.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1375, allocations: 7.938 kB / 400.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1376, allocations: 27.91 kB / 400.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.138, allocations: 6.922 kB / 400.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005314/0.1385, allocations: 224.9 kB / 400.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.1388, allocations: 0.6768 MB / 401.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.415e-05/0.1389, allocations: 8 kB / 401.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.139, allocations: 7.438 kB / 401.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.139, allocations: 0 / 401.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of Templates: time 0.003428/0.1424, allocations: 0.542 MB / 401.7 MB, free: 10.71 MB / 302.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches