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.001479/0.001479, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001501/0.001501, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.551/1.551, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.07935/0.07935, allocations: 16.95 MB / 326.5 MB, free: 8.621 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.003142/0.003142, allocations: 74.92 kB / 456 MB, free: 35.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.141, allocations: 57.7 MB / 0.5017 GB, free: 9.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002059/0.1431, allocations: 0.6752 MB / 0.5023 GB, free: 8.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002759/0.1433, allocations: 68.19 kB / 0.5024 GB, free: 8.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.1434, allocations: 3.938 kB / 0.5024 GB, free: 8.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.1434, allocations: 4 kB / 0.5024 GB, free: 8.469 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.038e-05/0.1435, allocations: 7.922 kB / 0.5024 GB, free: 8.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.1436, allocations: 15.98 kB / 0.5024 GB, free: 8.445 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.1438, allocations: 23.92 kB / 0.5024 GB, free: 8.422 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1439, allocations: 8 kB / 0.5024 GB, free: 8.414 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.4e-05/0.1439, allocations: 19.91 kB / 0.5025 GB, free: 8.395 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.02e-05/0.144, allocations: 15.92 kB / 0.5025 GB, free: 8.379 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.144, allocations: 4 kB / 0.5025 GB, free: 8.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-06/0.144, allocations: 0 / 0.5025 GB, free: 8.375 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.144, allocations: 0 / 0.5025 GB, free: 8.375 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.144, allocations: 11.94 kB / 0.5025 GB, free: 8.363 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.091e-05/0.1441, allocations: 19.91 kB / 0.5025 GB, free: 8.344 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1441, allocations: 0 / 0.5025 GB, free: 8.344 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1441, allocations: 4 kB / 0.5025 GB, free: 8.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1442, allocations: 0 / 0.5025 GB, free: 8.34 MB / 366.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.0005459/0.1447, allocations: 331.5 kB / 0.5028 GB, free: 7.965 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.1448, allocations: 12.03 kB / 0.5028 GB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.1448, allocations: 8.828 kB / 0.5029 GB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.145, allocations: 176.3 kB / 0.503 GB, free: 7.734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.145, allocations: 384 / 0.503 GB, free: 7.734 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.145, allocations: 384 / 0.503 GB, free: 7.734 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.1453, allocations: 76.81 kB / 0.5031 GB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1453, allocations: 192 / 0.5031 GB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1453, allocations: 3.938 kB / 0.5031 GB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1453, allocations: 4 kB / 0.5031 GB, free: 7.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.1455, allocations: 39.89 kB / 0.5031 GB, free: 7.598 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.1459, allocations: 269.8 kB / 0.5034 GB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.1461, allocations: 69.06 kB / 0.5035 GB, free: 7.195 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.1462, allocations: 33.77 kB / 0.5035 GB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.1463, allocations: 7.984 kB / 0.5035 GB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.1463, allocations: 30.56 kB / 0.5035 GB, free: 7.109 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1463, allocations: 0 / 0.5035 GB, free: 7.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004196/0.1467, allocations: 93.73 kB / 0.5036 GB, free: 7.012 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.645e-05/0.1468, allocations: 110.8 kB / 0.5037 GB, free: 6.879 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.1469, allocations: 101.8 kB / 0.5038 GB, free: 6.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1469, allocations: 25.7 kB / 0.5039 GB, free: 6.738 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.147, allocations: 84.08 kB / 0.5039 GB, free: 6.652 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.147, allocations: 11.89 kB / 0.5039 GB, free: 6.641 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.1471, allocations: 17.7 kB / 0.504 GB, free: 6.617 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1472, allocations: 322.9 kB / 0.5043 GB, free: 6.293 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.975e-05/0.1473, allocations: 16.84 kB / 0.5043 GB, free: 6.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.1475, allocations: 46.48 kB / 0.5043 GB, free: 6.219 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.1476, allocations: 49.72 kB / 0.5044 GB, free: 6.164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1476, allocations: 0 / 0.5044 GB, free: 6.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002353/0.1479, allocations: 81.53 kB / 0.5045 GB, free: 6.078 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1479, allocations: 4 kB / 0.5045 GB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1479, allocations: 0 / 0.5045 GB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1479, allocations: 0 / 0.5045 GB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.933e-05/0.148, allocations: 12.06 kB / 0.5045 GB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.148, allocations: 4 kB / 0.5045 GB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/0.1481, allocations: 7.984 kB / 0.5045 GB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1481, allocations: 3.938 kB / 0.5045 GB, free: 6.047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.041e-05/0.1482, allocations: 92.12 kB / 0.5046 GB, free: 5.953 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.351e-05/0.1482, allocations: 22.58 kB / 0.5046 GB, free: 5.922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.242e-05/0.1483, allocations: 37.67 kB / 0.5046 GB, free: 5.879 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.92e-07/0.1483, allocations: 0 / 0.5046 GB, free: 5.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001548/0.1485, allocations: 57.58 kB / 0.5047 GB, free: 5.816 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.1485, allocations: 6.188 kB / 0.5047 GB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-06/0.1485, allocations: 0 / 0.5047 GB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-06/0.1485, allocations: 7.938 kB / 0.5047 GB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.158e-05/0.1485, allocations: 7.984 kB / 0.5047 GB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-06/0.1485, allocations: 4.062 kB / 0.5047 GB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.1486, allocations: 4 kB / 0.5047 GB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-06/0.1486, allocations: 0 / 0.5047 GB, free: 5.789 MB / 366.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.0001215/0.1487, allocations: 188.2 kB / 0.5049 GB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.1487, allocations: 0 / 0.5049 GB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.1487, allocations: 11.06 kB / 0.5049 GB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1487, allocations: 4 kB / 0.5049 GB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1488, allocations: 0 / 0.5049 GB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1488, allocations: 0 / 0.5049 GB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.1489, allocations: 165.6 kB / 0.5051 GB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.149, allocations: 4 kB / 0.5051 GB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.196e-05/0.149, allocations: 11.98 kB / 0.5051 GB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.149, allocations: 0 / 0.5051 GB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.149, allocations: 0 / 0.5051 GB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.149, allocations: 0 / 0.5051 GB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.149, allocations: 0 / 0.5051 GB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.1493, allocations: 184.2 kB / 0.5053 GB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.521e-05/0.1494, allocations: 89.03 kB / 0.5053 GB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.1494, allocations: 0 / 0.5053 GB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.682e-05/0.1495, allocations: 8 kB / 0.5053 GB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.1496, allocations: 11.98 kB / 0.5054 GB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.1496, allocations: 0 / 0.5054 GB, free: 5.031 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.896e-05/0.1496, allocations: 83.28 kB / 0.5054 GB, free: 4.949 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1496, allocations: 0 / 0.5054 GB, free: 4.949 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.1499, allocations: 8 kB / 0.5054 GB, free: 4.941 MB / 366.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.0001273/0.15, allocations: 99.19 kB / 0.5055 GB, free: 4.832 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.1503, allocations: 52.45 kB / 0.5056 GB, free: 4.781 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1503, allocations: 256 / 0.5056 GB, free: 4.781 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1504, allocations: 35.91 kB / 0.5056 GB, free: 4.746 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.1507, allocations: 7.875 kB / 0.5056 GB, free: 4.738 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.1511, allocations: 125.7 kB / 0.5058 GB, free: 4.586 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.1515, allocations: 0.6768 MB / 0.5064 GB, free: 3.883 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.051e-05/0.1515, allocations: 4.125 kB / 0.5064 GB, free: 3.879 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.1515, allocations: 11.44 kB / 0.5064 GB, free: 3.867 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1515, allocations: 0 / 0.5064 GB, free: 3.867 MB / 366.1 MB Notification: Performance of Templates: time 0.003125/0.1546, allocations: 0.6414 MB / 0.5071 GB, free: 3.23 MB / 366.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.808358534995932]