Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=160,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 107.3 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 192.1 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06275/0.06275, allocations: 14.17 MB / 284.8 MB, free: 13.86 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 78.05 kB / 397.2 MB, free: 43.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1266, allocations: 50.13 MB / 447.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002994/0.1296, allocations: 0.6746 MB / 448 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003049/0.13, allocations: 64.14 kB / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.13, allocations: 0 / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.55e-05/0.1301, allocations: 3.938 kB / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.687e-05/0.1302, allocations: 11.98 kB / 448 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.1304, allocations: 15.92 kB / 448.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.1305, allocations: 23.92 kB / 448.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1307, allocations: 8 kB / 448.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.811e-05/0.1307, allocations: 7.984 kB / 448.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.09e-05/0.1308, allocations: 19.91 kB / 448.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.1308, allocations: 8 kB / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.1308, allocations: 0 / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.1309, allocations: 7.938 kB / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.1309, allocations: 15.92 kB / 448.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.755e-05/0.131, allocations: 15.98 kB / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.131, allocations: 3.938 kB / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1311, allocations: 0 / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1311, allocations: 0 / 448.2 MB, free: 12.8 MB / 334.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.0005718/0.1316, allocations: 331.5 kB / 448.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.1317, allocations: 16.03 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.1318, allocations: 0.9375 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.132, allocations: 176.3 kB / 448.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.132, allocations: 384 / 448.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.1321, allocations: 384 / 448.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.1324, allocations: 72.75 kB / 448.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1324, allocations: 192 / 448.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.1324, allocations: 11.94 kB / 448.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1324, allocations: 4 kB / 448.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.1327, allocations: 35.95 kB / 448.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/0.1333, allocations: 269.8 kB / 449.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.1335, allocations: 69.12 kB / 449.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.1337, allocations: 37.75 kB / 449.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1337, allocations: 0 / 449.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/0.1338, allocations: 38.5 kB / 449.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.1338, allocations: 0 / 449.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005155/0.1343, allocations: 97.52 kB / 449.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.1344, allocations: 102.8 kB / 449.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.696e-05/0.1345, allocations: 98.11 kB / 449.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1345, allocations: 29.7 kB / 449.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.1346, allocations: 80.14 kB / 449.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.1347, allocations: 23.73 kB / 449.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.1347, allocations: 13.72 kB / 449.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1349, allocations: 310.8 kB / 449.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.135, allocations: 20.84 kB / 450 MB, free: 10.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.1352, allocations: 46.55 kB / 450 MB, free: 10.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.1354, allocations: 45.62 kB / 450.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1354, allocations: 0 / 450.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003048/0.1357, allocations: 81.62 kB / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.1358, allocations: 4 kB / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1358, allocations: 8.219 kB / 450.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1358, allocations: 0 / 450.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1359, allocations: 11.98 kB / 450.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1359, allocations: 3.938 kB / 450.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.766e-05/0.136, allocations: 4 kB / 450.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.1361, allocations: 8.062 kB / 450.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001272/0.1362, allocations: 88.12 kB / 450.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.193e-05/0.1363, allocations: 30.55 kB / 450.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001069/0.1364, allocations: 25.72 kB / 450.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.779e-06/0.1364, allocations: 3.984 kB / 450.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001945/0.1366, allocations: 61.59 kB / 450.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1366, allocations: 7.984 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1367, allocations: 4 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.797e-06/0.1367, allocations: 0 / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.355e-05/0.1367, allocations: 4 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.1367, allocations: 0 / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.031e-05/0.1368, allocations: 4 kB / 450.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.1368, allocations: 0 / 450.4 MB, free: 10.26 MB / 334.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.000151/0.137, allocations: 196.2 kB / 450.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.137, allocations: 3.906 kB / 450.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.67e-05/0.1371, allocations: 15.02 kB / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1371, allocations: 0 / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.1371, allocations: 4 kB / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1371, allocations: 0 / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.1374, allocations: 169.6 kB / 450.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1374, allocations: 0 / 450.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.555e-05/0.1375, allocations: 8 kB / 450.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.1375, allocations: 0 / 450.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1375, allocations: 7.938 kB / 450.8 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1375, allocations: 3.984 kB / 450.8 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1376, allocations: 4 kB / 450.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009055/0.1385, allocations: 0.9618 MB / 451.8 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.1385, allocations: 77.11 kB / 451.8 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.1386, allocations: 0 / 451.8 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.1387, allocations: 11.92 kB / 451.9 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.1388, allocations: 11.94 kB / 451.9 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.1388, allocations: 0 / 451.9 MB, free: 8.656 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.924e-05/0.1389, allocations: 83.28 kB / 451.9 MB, free: 8.574 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1389, allocations: 0 / 451.9 MB, free: 8.574 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009649/0.1399, allocations: 8 kB / 452 MB, free: 8.566 MB / 334.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.0001454/0.14, allocations: 103.2 kB / 452.1 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003814/0.1404, allocations: 48.14 kB / 452.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1404, allocations: 8.062 kB / 452.1 MB, free: 8.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.1406, allocations: 23.92 kB / 452.1 MB, free: 8.375 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.141, allocations: 4.938 kB / 452.1 MB, free: 8.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005866/0.1416, allocations: 232.6 kB / 452.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.1419, allocations: 0.6769 MB / 453 MB, free: 7.398 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.384e-05/0.142, allocations: 7.984 kB / 453 MB, free: 7.391 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.1421, allocations: 7.438 kB / 453.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1421, allocations: 4 kB / 453.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of Templates: time 0.003763/0.1458, allocations: 0.651 MB / 453.7 MB, free: 6.73 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches