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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 109.1 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 196.5 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.08191/0.08191, allocations: 16.95 MB / 319.6 MB, free: 9.27 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.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.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: Performance of FrontEnd - loaded program: time 0.00279/0.00279, allocations: 63.89 kB / 446.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1454, allocations: 56.53 MB / 0.4915 GB, free: 2.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002205/0.1476, allocations: 0.6795 MB / 0.4922 GB, free: 2.305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002665/0.1479, allocations: 63.72 kB / 0.4922 GB, free: 2.242 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.1479, allocations: 0 / 0.4922 GB, free: 2.242 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.148, allocations: 0 / 0.4922 GB, free: 2.242 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.292e-05/0.148, allocations: 11.94 kB / 0.4922 GB, free: 2.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.1482, allocations: 11.98 kB / 0.4923 GB, free: 2.219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.1483, allocations: 27.92 kB / 0.4923 GB, free: 2.191 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1484, allocations: 8 kB / 0.4923 GB, free: 2.184 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.821e-05/0.1485, allocations: 11.92 kB / 0.4923 GB, free: 2.172 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.215e-05/0.1486, allocations: 11.98 kB / 0.4923 GB, free: 2.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.1486, allocations: 0 / 0.4923 GB, free: 2.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.1486, allocations: 4 kB / 0.4923 GB, free: 2.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.1486, allocations: 11.97 kB / 0.4923 GB, free: 2.145 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.1487, allocations: 7.938 kB / 0.4923 GB, free: 2.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.1488, allocations: 31.84 kB / 0.4924 GB, free: 2.105 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1488, allocations: 0 / 0.4924 GB, free: 2.105 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1488, allocations: 0 / 0.4924 GB, free: 2.105 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1488, allocations: 0 / 0.4924 GB, free: 2.105 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.0006074/0.1494, allocations: 334 kB / 0.4927 GB, free: 1.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1494, allocations: 8.031 kB / 0.4927 GB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.1495, allocations: 4.938 kB / 0.4927 GB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.1497, allocations: 180.2 kB / 0.4929 GB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.1497, allocations: 4.375 kB / 0.4929 GB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.1498, allocations: 4.375 kB / 0.4929 GB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.15, allocations: 72.8 kB / 0.4929 GB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.15, allocations: 4.125 kB / 0.493 GB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.15, allocations: 3.938 kB / 0.493 GB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.1501, allocations: 0 / 0.493 GB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.1502, allocations: 47.91 kB / 0.493 GB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.1507, allocations: 265.8 kB / 0.4933 GB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.1509, allocations: 69.06 kB / 0.4933 GB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.151, allocations: 33.77 kB / 0.4934 GB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.151, allocations: 0 / 0.4934 GB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.1511, allocations: 34.5 kB / 0.4934 GB, free: 0.875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1511, allocations: 4 kB / 0.4934 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004037/0.1515, allocations: 93.58 kB / 0.4935 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.1516, allocations: 102.8 kB / 0.4936 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1517, allocations: 101.8 kB / 0.4937 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1517, allocations: 25.7 kB / 0.4937 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.228e-05/0.1518, allocations: 88.12 kB / 0.4938 GB, free: 428 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.1518, allocations: 15.84 kB / 0.4938 GB, free: 412 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.1519, allocations: 17.97 kB / 0.4938 GB, free: 388 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.1521, allocations: 310.8 kB / 0.4941 GB, free: 68 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.724e-05/0.1522, allocations: 28.83 kB / 0.4941 GB, free: 36 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.1524, allocations: 38.5 kB / 0.4942 GB, free: 15.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.1526, allocations: 45.72 kB / 0.4942 GB, free: 15.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1526, allocations: 0 / 0.4942 GB, free: 15.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002037/0.1528, allocations: 81.53 kB / 0.4943 GB, free: 15.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1528, allocations: 8 kB / 0.4943 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1528, allocations: 4.047 kB / 0.4943 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1528, allocations: 4 kB / 0.4943 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1529, allocations: 11.98 kB / 0.4943 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.1529, allocations: 4 kB / 0.4943 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.923e-05/0.153, allocations: 11.98 kB / 0.4943 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.153, allocations: 0 / 0.4943 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001429/0.1531, allocations: 84.14 kB / 0.4944 GB, free: 15.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.193e-05/0.1532, allocations: 30.56 kB / 0.4944 GB, free: 15.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.228e-05/0.1533, allocations: 33.67 kB / 0.4945 GB, free: 15.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.41e-07/0.1533, allocations: 0 / 0.4945 GB, free: 15.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001217/0.1534, allocations: 53.62 kB / 0.4945 GB, free: 15.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.1534, allocations: 8 kB / 0.4945 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-06/0.1534, allocations: 0 / 0.4945 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.1534, allocations: 4 kB / 0.4945 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.6e-05/0.1535, allocations: 8 kB / 0.4946 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1535, allocations: 4 kB / 0.4946 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.061e-05/0.1535, allocations: 8.312 kB / 0.4946 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-06/0.1535, allocations: 4 kB / 0.4946 GB, free: 15.55 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.0001273/0.1536, allocations: 184.1 kB / 0.4947 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.1537, allocations: 4 kB / 0.4947 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.1537, allocations: 11.06 kB / 0.4948 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1537, allocations: 3.984 kB / 0.4948 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1537, allocations: 4 kB / 0.4948 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1537, allocations: 4 kB / 0.4948 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.1539, allocations: 161.6 kB / 0.4949 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1539, allocations: 0 / 0.4949 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.166e-05/0.154, allocations: 11.98 kB / 0.4949 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.154, allocations: 0 / 0.4949 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.154, allocations: 8 kB / 0.4949 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.154, allocations: 0 / 0.4949 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.154, allocations: 0 / 0.4949 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.1542, allocations: 180.2 kB / 0.4951 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.1543, allocations: 77.11 kB / 0.4952 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.1543, allocations: 0 / 0.4952 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.129e-05/0.1544, allocations: 11.98 kB / 0.4952 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.1544, allocations: 0 / 0.4952 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1544, allocations: 8 kB / 0.4952 GB, free: 14.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.303e-05/0.1545, allocations: 83.27 kB / 0.4953 GB, free: 14.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1545, allocations: 0 / 0.4953 GB, free: 14.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1548, allocations: 11.95 kB / 0.4953 GB, free: 14.71 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.0001257/0.1549, allocations: 95.25 kB / 0.4954 GB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002964/0.1552, allocations: 60.02 kB / 0.4954 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1552, allocations: 0 / 0.4954 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.771e-05/0.1553, allocations: 23.92 kB / 0.4955 GB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.1555, allocations: 11.06 kB / 0.4955 GB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.1559, allocations: 122 kB / 0.4956 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.1563, allocations: 0.6807 MB / 0.4963 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.538e-05/0.1564, allocations: 0 / 0.4963 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.1564, allocations: 11.44 kB / 0.4963 GB, free: 13.64 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1564, allocations: 4 kB / 0.4963 GB, free: 13.64 MB / 382.1 MB Notification: Performance of Templates: time 0.00335/0.1598, allocations: 0.6344 MB / 0.4969 GB, free: 13.01 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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.767875052988529]