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.001315/0.001315, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00142/0.00142, allocations: 213.9 kB / 23.03 MB, free: 4.922 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.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.08194/0.08194, allocations: 16.96 MB / 330.2 MB, free: 2.344 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.00204/0.00204, allocations: 63.91 kB / 461.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1311, allocations: 57.75 MB / 0.5068 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001966/0.1331, allocations: 0.6603 MB / 0.5074 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002447/0.1333, allocations: 55.75 kB / 0.5075 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.1334, allocations: 0 / 0.5075 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.261e-05/0.1334, allocations: 7.984 kB / 0.5075 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.207e-05/0.1335, allocations: 11.94 kB / 0.5075 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.1336, allocations: 11.98 kB / 0.5075 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.1337, allocations: 23.92 kB / 0.5075 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.331e-05/0.1338, allocations: 8 kB / 0.5076 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.716e-05/0.1339, allocations: 19.91 kB / 0.5076 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.928e-05/0.1339, allocations: 15.92 kB / 0.5076 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.134, allocations: 4 kB / 0.5076 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.709e-06/0.134, allocations: 0 / 0.5076 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.134, allocations: 4 kB / 0.5076 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.134, allocations: 8 kB / 0.5076 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.326e-05/0.1341, allocations: 31.78 kB / 0.5076 GB, free: 7.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1341, allocations: 0 / 0.5076 GB, free: 7.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1341, allocations: 0 / 0.5076 GB, free: 7.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1341, allocations: 0 / 0.5076 GB, free: 7.062 MB / 382.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.0004208/0.1345, allocations: 258.4 kB / 0.5079 GB, free: 6.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1346, allocations: 8.031 kB / 0.5079 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.1346, allocations: 4.891 kB / 0.5079 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.1348, allocations: 114.5 kB / 0.508 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.505e-06/0.1348, allocations: 384 / 0.508 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1348, allocations: 12.38 kB / 0.508 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.135, allocations: 102.5 kB / 0.5081 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.135, allocations: 192 / 0.5081 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.135, allocations: 3.938 kB / 0.5081 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.135, allocations: 3.938 kB / 0.5081 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.1352, allocations: 39.91 kB / 0.5082 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.1356, allocations: 213.5 kB / 0.5084 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1357, allocations: 73.16 kB / 0.5084 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.1359, allocations: 29.77 kB / 0.5085 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1359, allocations: 7.938 kB / 0.5085 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.1359, allocations: 30.56 kB / 0.5085 GB, free: 6.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1359, allocations: 0 / 0.5085 GB, free: 6.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000396/0.1363, allocations: 101.5 kB / 0.5086 GB, free: 5.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/0.1364, allocations: 106.8 kB / 0.5087 GB, free: 5.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.294e-05/0.1365, allocations: 97.84 kB / 0.5088 GB, free: 5.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1365, allocations: 25.7 kB / 0.5088 GB, free: 5.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.1365, allocations: 88.14 kB / 0.5089 GB, free: 5.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.1366, allocations: 7.891 kB / 0.5089 GB, free: 5.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.1366, allocations: 13.72 kB / 0.5089 GB, free: 5.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.1368, allocations: 315.1 kB / 0.5092 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.256e-05/0.1369, allocations: 28.83 kB / 0.5092 GB, free: 5.199 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.137, allocations: 64.2 kB / 0.5093 GB, free: 5.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.1372, allocations: 49.69 kB / 0.5094 GB, free: 5.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1372, allocations: 0 / 0.5094 GB, free: 5.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000219/0.1374, allocations: 81.56 kB / 0.5094 GB, free: 4.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1374, allocations: 4 kB / 0.5094 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1374, allocations: 0 / 0.5094 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1374, allocations: 0 / 0.5094 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.563e-05/0.1375, allocations: 11.98 kB / 0.5094 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1376, allocations: 4 kB / 0.5094 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.644e-05/0.1376, allocations: 7.984 kB / 0.5095 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1376, allocations: 64 / 0.5095 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.617e-05/0.1377, allocations: 92.14 kB / 0.5095 GB, free: 4.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.586e-05/0.1378, allocations: 56.2 kB / 0.5096 GB, free: 4.789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.174e-05/0.1379, allocations: 33.64 kB / 0.5096 GB, free: 4.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.11e-07/0.1379, allocations: 0 / 0.5096 GB, free: 4.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001286/0.138, allocations: 53.64 kB / 0.5097 GB, free: 4.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/0.138, allocations: 7.938 kB / 0.5097 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-06/0.138, allocations: 11.97 kB / 0.5097 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-06/0.138, allocations: 4 kB / 0.5097 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.807e-05/0.138, allocations: 4 kB / 0.5097 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-06/0.138, allocations: 0 / 0.5097 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.1381, allocations: 7.984 kB / 0.5097 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-06/0.1381, allocations: 0 / 0.5097 GB, free: 4.656 MB / 382.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.0001242/0.1382, allocations: 184.8 kB / 0.5099 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.1382, allocations: 3.938 kB / 0.5099 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.1383, allocations: 7.312 kB / 0.5099 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1383, allocations: 4 kB / 0.5099 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1383, allocations: 0 / 0.5099 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1383, allocations: 0 / 0.5099 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.1384, allocations: 109.7 kB / 0.51 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1384, allocations: 0 / 0.51 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.418e-05/0.1385, allocations: 11.98 kB / 0.51 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.1385, allocations: 3.938 kB / 0.51 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1385, allocations: 4 kB / 0.51 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1385, allocations: 4 kB / 0.51 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1385, allocations: 4 kB / 0.51 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.1388, allocations: 184.2 kB / 0.5102 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.1388, allocations: 3.938 kB / 0.5102 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.1388, allocations: 4 kB / 0.5102 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.183e-05/0.1389, allocations: 7.984 kB / 0.5102 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.139, allocations: 0 / 0.5102 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.139, allocations: 4 kB / 0.5102 GB, free: 4.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.015e-05/0.139, allocations: 83.27 kB / 0.5103 GB, free: 3.988 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.139, allocations: 4 kB / 0.5103 GB, free: 3.984 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1393, allocations: 4 kB / 0.5103 GB, free: 3.98 MB / 382.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.0001087/0.1394, allocations: 95.25 kB / 0.5104 GB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.1397, allocations: 59.89 kB / 0.5105 GB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1397, allocations: 0 / 0.5105 GB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.899e-05/0.1398, allocations: 24.23 kB / 0.5105 GB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.1401, allocations: 12 kB / 0.5105 GB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.1404, allocations: 129.7 kB / 0.5106 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.501e-05/0.1405, allocations: 63.3 kB / 0.5107 GB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.873e-05/0.1406, allocations: 7.984 kB / 0.5107 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.1406, allocations: 15.38 kB / 0.5107 GB, free: 3.52 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1406, allocations: 0 / 0.5107 GB, free: 3.52 MB / 382.1 MB Notification: Performance of Templates: time 0.003501/0.1441, allocations: 0.6724 MB / 0.5114 GB, free: 2.863 MB / 382.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=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 50] 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.9169983270112425]