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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 158.6 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08016/0.08016, allocations: 12.54 MB / 272.3 MB, free: 4.543 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,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=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002891/0.002891, allocations: 71.89 kB / 403.3 MB, free: 144 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1296, allocations: 57.69 MB / 461 MB, free: 6.344 MB / 430.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002346/0.132, allocations: 0.6811 MB / 461.7 MB, free: 5.668 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002862/0.1323, allocations: 67.73 kB / 461.8 MB, free: 5.602 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.572e-05/0.1323, allocations: 4 kB / 461.8 MB, free: 5.598 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.473e-05/0.1323, allocations: 0 / 461.8 MB, free: 5.598 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.374e-05/0.1324, allocations: 11.92 kB / 461.8 MB, free: 5.586 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.1326, allocations: 11.98 kB / 461.8 MB, free: 5.574 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.1327, allocations: 31.92 kB / 461.8 MB, free: 5.543 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.1328, allocations: 3.938 kB / 461.8 MB, free: 5.539 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.837e-05/0.1328, allocations: 8 kB / 461.8 MB, free: 5.531 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.765e-05/0.1329, allocations: 15.91 kB / 461.8 MB, free: 5.516 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.1329, allocations: 4 kB / 461.9 MB, free: 5.512 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.1329, allocations: 4 kB / 461.9 MB, free: 5.508 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.133, allocations: 7.984 kB / 461.9 MB, free: 5.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.133, allocations: 7.938 kB / 461.9 MB, free: 5.492 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.139e-05/0.1331, allocations: 19.97 kB / 461.9 MB, free: 5.473 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1331, allocations: 0 / 461.9 MB, free: 5.473 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1331, allocations: 4 kB / 461.9 MB, free: 5.469 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1331, allocations: 0 / 461.9 MB, free: 5.469 MB / 430.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.0004952/0.1336, allocations: 254.4 kB / 462.1 MB, free: 5.188 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1336, allocations: 11.97 kB / 462.2 MB, free: 5.176 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.1337, allocations: 4.938 kB / 462.2 MB, free: 5.172 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.1338, allocations: 114.5 kB / 462.3 MB, free: 5.035 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1338, allocations: 4.312 kB / 462.3 MB, free: 5.031 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.1339, allocations: 4.312 kB / 462.3 MB, free: 5.027 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.1342, allocations: 102.5 kB / 462.4 MB, free: 4.906 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1342, allocations: 192 / 462.4 MB, free: 4.906 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1342, allocations: 7.938 kB / 462.4 MB, free: 4.898 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1342, allocations: 0 / 462.4 MB, free: 4.898 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.1344, allocations: 39.89 kB / 462.4 MB, free: 4.859 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.1348, allocations: 213.5 kB / 462.6 MB, free: 4.617 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.1351, allocations: 69.06 kB / 462.7 MB, free: 4.531 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.1352, allocations: 37.81 kB / 462.7 MB, free: 4.488 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.1352, allocations: 3.938 kB / 462.7 MB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.1353, allocations: 34.56 kB / 462.8 MB, free: 4.441 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.1353, allocations: 0 / 462.8 MB, free: 4.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003992/0.1357, allocations: 101.6 kB / 462.9 MB, free: 4.336 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.1358, allocations: 102.8 kB / 463 MB, free: 4.211 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.372e-05/0.1359, allocations: 101.8 kB / 463.1 MB, free: 4.102 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1359, allocations: 29.7 kB / 463.1 MB, free: 4.066 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.136, allocations: 80.14 kB / 463.2 MB, free: 3.984 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.136, allocations: 15.88 kB / 463.2 MB, free: 3.969 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.136, allocations: 13.72 kB / 463.2 MB, free: 3.949 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1362, allocations: 310.8 kB / 463.5 MB, free: 3.637 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.501e-05/0.1363, allocations: 28.94 kB / 463.5 MB, free: 3.605 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.1364, allocations: 68.25 kB / 463.6 MB, free: 3.523 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.1365, allocations: 45.69 kB / 463.7 MB, free: 3.473 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1365, allocations: 0 / 463.7 MB, free: 3.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002214/0.1368, allocations: 89.52 kB / 463.7 MB, free: 3.379 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1368, allocations: 6.344 kB / 463.8 MB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1368, allocations: 0 / 463.8 MB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1368, allocations: 4 kB / 463.8 MB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.581e-05/0.1369, allocations: 11.98 kB / 463.8 MB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.1369, allocations: 0 / 463.8 MB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.481e-05/0.137, allocations: 4 kB / 463.8 MB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.137, allocations: 4 kB / 463.8 MB, free: 3.352 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.348e-05/0.1371, allocations: 88.12 kB / 463.9 MB, free: 3.262 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.011e-05/0.1371, allocations: 56.33 kB / 463.9 MB, free: 3.191 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.604e-05/0.1372, allocations: 33.59 kB / 463.9 MB, free: 3.152 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.42e-07/0.1372, allocations: 0 / 463.9 MB, free: 3.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001284/0.1373, allocations: 53.62 kB / 464 MB, free: 3.094 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1374, allocations: 15.92 kB / 464 MB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.91e-07/0.1374, allocations: 0 / 464 MB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-06/0.1374, allocations: 96 / 464 MB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.69e-05/0.1374, allocations: 8 kB / 464 MB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-06/0.1374, allocations: 3.938 kB / 464 MB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.773e-05/0.1374, allocations: 4 kB / 464 MB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1375, allocations: 4 kB / 464 MB, free: 3.059 MB / 430.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.0001278/0.1376, allocations: 180.2 kB / 464.2 MB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.1376, allocations: 7.938 kB / 464.2 MB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.1376, allocations: 7.312 kB / 464.2 MB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1376, allocations: 0 / 464.2 MB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1376, allocations: 0 / 464.2 MB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1377, allocations: 8 kB / 464.2 MB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.1379, allocations: 105.3 kB / 464.3 MB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1379, allocations: 0 / 464.3 MB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.096e-05/0.1379, allocations: 8 kB / 464.3 MB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1379, allocations: 3.938 kB / 464.3 MB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.138, allocations: 4 kB / 464.4 MB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.138, allocations: 3.984 kB / 464.4 MB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.138, allocations: 3.938 kB / 464.4 MB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.1383, allocations: 176.3 kB / 464.5 MB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.1383, allocations: 11.94 kB / 464.5 MB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.1384, allocations: 4 kB / 464.5 MB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.1384, allocations: 7.984 kB / 464.6 MB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.1385, allocations: 4 kB / 464.6 MB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.1385, allocations: 0 / 464.6 MB, free: 2.477 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.689e-05/0.1385, allocations: 79.28 kB / 464.6 MB, free: 2.398 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1385, allocations: 0 / 464.6 MB, free: 2.398 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1388, allocations: 12 kB / 464.6 MB, free: 2.387 MB / 430.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.0001235/0.1389, allocations: 99.77 kB / 464.7 MB, free: 2.281 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.1392, allocations: 56.45 kB / 464.8 MB, free: 2.227 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1392, allocations: 0 / 464.8 MB, free: 2.227 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.386e-05/0.1393, allocations: 23.86 kB / 464.8 MB, free: 2.203 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.1395, allocations: 8 kB / 464.8 MB, free: 2.195 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.1399, allocations: 130 kB / 465 MB, free: 2.039 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.554e-05/0.14, allocations: 59.34 kB / 465 MB, free: 1.961 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.477e-05/0.14, allocations: 8 kB / 465 MB, free: 1.953 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.1401, allocations: 8.5 kB / 465 MB, free: 1.941 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1401, allocations: 0 / 465 MB, free: 1.941 MB / 430.1 MB Notification: Performance of Templates: time 0.00353/0.1436, allocations: 0.6798 MB / 465.7 MB, free: 1.27 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_dev_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_dev_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.670211329939775]