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.001354/0.001354, allocations: 111.4 kB / 16.41 MB, free: 6.496 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.001296/0.001296, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.539/1.539, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.08024/0.08024, allocations: 16.69 MB / 313.9 MB, free: 12.41 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.002501/0.002501, allocations: 67.88 kB / 435.2 MB, free: 7.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1459, allocations: 53.54 MB / 488.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.00238/0.1484, allocations: 0.6769 MB / 489.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003055/0.1487, allocations: 63.78 kB / 489.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.471e-05/0.1488, allocations: 0 / 489.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.1488, allocations: 0 / 489.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.1489, allocations: 7.938 kB / 489.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.1491, allocations: 11.98 kB / 489.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.1493, allocations: 27.92 kB / 489.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1494, allocations: 11.98 kB / 489.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.095e-05/0.1494, allocations: 7.938 kB / 489.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.859e-05/0.1495, allocations: 23.91 kB / 489.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.1495, allocations: 0 / 489.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.1496, allocations: 4 kB / 489.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.277e-05/0.1496, allocations: 7.984 kB / 489.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.1496, allocations: 11.94 kB / 489.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.1498, allocations: 19.91 kB / 489.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.1498, allocations: 0 / 489.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1498, allocations: 3.938 kB / 489.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.1498, allocations: 0 / 489.6 MB, free: 1.035 MB / 350.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.0005601/0.1504, allocations: 339.4 kB / 489.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1504, allocations: 8.031 kB / 489.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.1505, allocations: 4.938 kB / 489.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.1507, allocations: 172.3 kB / 490.1 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1507, allocations: 4.375 kB / 490.1 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.1507, allocations: 384 / 490.1 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.151, allocations: 72.8 kB / 490.2 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.151, allocations: 4.188 kB / 490.2 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.1511, allocations: 7.938 kB / 490.2 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.1511, allocations: 3.984 kB / 490.2 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.1513, allocations: 39.91 kB / 490.2 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.1518, allocations: 273.9 kB / 490.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.152, allocations: 69.06 kB / 490.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.1521, allocations: 29.77 kB / 490.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.1521, allocations: 4 kB / 490.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.1522, allocations: 34.56 kB / 490.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.1522, allocations: 0 / 490.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004021/0.1526, allocations: 89.58 kB / 490.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.002e-05/0.1527, allocations: 111 kB / 490.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.089e-05/0.1528, allocations: 105.8 kB / 490.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.1528, allocations: 25.7 kB / 491 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.1529, allocations: 80.14 kB / 491 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.1529, allocations: 15.91 kB / 491.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.153, allocations: 9.719 kB / 491.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1531, allocations: 326.8 kB / 491.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.459e-05/0.1532, allocations: 20.84 kB / 491.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1533, allocations: 34.56 kB / 491.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.1535, allocations: 45.69 kB / 491.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1535, allocations: 0 / 491.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002263/0.1538, allocations: 85.56 kB / 491.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1538, allocations: 4 kB / 491.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1538, allocations: 0 / 491.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1538, allocations: 4 kB / 491.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.591e-05/0.1539, allocations: 11.98 kB / 491.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1539, allocations: 3.938 kB / 491.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.225e-05/0.154, allocations: 12.05 kB / 491.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.154, allocations: 0 / 491.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001008/0.1541, allocations: 92.14 kB / 491.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.552e-05/0.1542, allocations: 22.56 kB / 491.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.641e-05/0.1543, allocations: 33.64 kB / 491.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.41e-07/0.1543, allocations: 4.031 kB / 491.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001353/0.1544, allocations: 57.56 kB / 491.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.1544, allocations: 4 kB / 491.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-06/0.1544, allocations: 0 / 491.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.588e-06/0.1545, allocations: 4 kB / 491.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.974e-05/0.1545, allocations: 4 kB / 491.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1545, allocations: 7.984 kB / 491.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.666e-05/0.1546, allocations: 15.88 kB / 491.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.1546, allocations: 0 / 491.8 MB, free: 14.48 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.0001176/0.1547, allocations: 192.3 kB / 492 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.1547, allocations: 0 / 492 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.1548, allocations: 3.125 kB / 492 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1548, allocations: 4 kB / 492 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1548, allocations: 0 / 492 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1548, allocations: 0 / 492 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.155, allocations: 169.6 kB / 492.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.155, allocations: 0 / 492.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-05/0.1551, allocations: 11.98 kB / 492.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1551, allocations: 4 kB / 492.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.1551, allocations: 0 / 492.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1551, allocations: 7.875 kB / 492.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1552, allocations: 0 / 492.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.1555, allocations: 172.7 kB / 492.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/0.1555, allocations: 85.11 kB / 492.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.1555, allocations: 0 / 492.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.575e-05/0.1556, allocations: 8.031 kB / 492.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.1557, allocations: 7.984 kB / 492.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.1557, allocations: 4 kB / 492.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.036e-05/0.1558, allocations: 83.27 kB / 492.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1558, allocations: 3.938 kB / 492.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.156, allocations: 11.95 kB / 492.6 MB, free: 13.63 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.0001352/0.1562, allocations: 99.19 kB / 492.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.1565, allocations: 51.95 kB / 492.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.1565, allocations: 0 / 492.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.726e-05/0.1566, allocations: 27.92 kB / 492.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.1569, allocations: 12.31 kB / 492.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.1573, allocations: 121.7 kB / 492.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.1576, allocations: 0.6729 MB / 493.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.966e-05/0.1577, allocations: 8 kB / 493.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.1577, allocations: 11.42 kB / 493.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1577, allocations: 0 / 493.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of Templates: time 0.003278/0.161, allocations: 0.636 MB / 494.2 MB, free: 11.93 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_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.69303126889281]