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.001528/0.001528, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001653/0.001653, allocations: 163.1 kB / 22.46 MB, free: 5.375 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.359/1.359, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 179] 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.0736/0.0736, allocations: 12.53 MB / 271.7 MB, free: 4.559 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: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 402.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.017e-05, allocations: 6.281 kB / 402.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001632/0.001653, allocations: 0.6805 MB / 403.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002218/0.001874, allocations: 59.73 kB / 403.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.001909, allocations: 0 / 403.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.001932, allocations: 0 / 403.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.988e-05/0.002002, allocations: 15.88 kB / 403.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000125/0.002127, allocations: 11.98 kB / 403.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.962e-05/0.002216, allocations: 23.98 kB / 403.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.129e-05/0.002298, allocations: 11.98 kB / 403.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.642e-05/0.002344, allocations: 19.91 kB / 403.6 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.791e-05/0.002392, allocations: 15.92 kB / 403.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.002415, allocations: 0 / 403.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.002426, allocations: 4 kB / 403.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.00244, allocations: 0 / 403.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.002466, allocations: 19.92 kB / 403.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.354e-05/0.00254, allocations: 15.98 kB / 403.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002542, allocations: 0 / 403.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.002542, allocations: 0 / 403.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.00255, allocations: 0 / 403.7 MB, free: 14.03 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.0003977/0.002947, allocations: 258.4 kB / 403.9 MB, free: 13.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.00298, allocations: 12.03 kB / 403.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.003009, allocations: 4.891 kB / 404 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.003167, allocations: 117.7 kB / 404.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.003177, allocations: 384 / 404.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.00319, allocations: 8.375 kB / 404.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.003426, allocations: 98.45 kB / 404.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.003435, allocations: 192 / 404.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.003445, allocations: 384 / 404.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.003448, allocations: 384 / 404.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.003631, allocations: 39.89 kB / 404.2 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.003978, allocations: 221.4 kB / 404.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.004174, allocations: 69.12 kB / 404.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.004287, allocations: 29.77 kB / 404.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.004307, allocations: 3.984 kB / 404.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.004337, allocations: 38.5 kB / 404.6 MB, free: 13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.004338, allocations: 0 / 404.6 MB, free: 13 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003793/0.004717, allocations: 89.59 kB / 404.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.08e-05/0.004798, allocations: 118.7 kB / 404.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/0.004876, allocations: 93.86 kB / 404.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.004898, allocations: 25.7 kB / 404.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.004955, allocations: 92.03 kB / 405 MB, free: 12.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.004973, allocations: 7.953 kB / 405 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.005011, allocations: 13.7 kB / 405 MB, free: 12.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.005155, allocations: 318.8 kB / 405.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.913e-05/0.005254, allocations: 25.09 kB / 405.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.005379, allocations: 68.25 kB / 405.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.005557, allocations: 49.69 kB / 405.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.005558, allocations: 0 / 405.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002269/0.005785, allocations: 77.62 kB / 405.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.005797, allocations: 4 kB / 405.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.005803, allocations: 3.938 kB / 405.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.005818, allocations: 0 / 405.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.005913, allocations: 8 kB / 405.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.00592, allocations: 4 kB / 405.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.005983, allocations: 7.984 kB / 405.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.005988, allocations: 3.938 kB / 405.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000102/0.00609, allocations: 96.84 kB / 405.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.027e-05/0.006161, allocations: 52.28 kB / 405.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.89e-05/0.006249, allocations: 29.7 kB / 405.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.896e-06/0.006252, allocations: 3.984 kB / 405.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.000135/0.006387, allocations: 53.58 kB / 405.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/0.006394, allocations: 4 kB / 405.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-06/0.006395, allocations: 4.469 kB / 405.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-06/0.006399, allocations: 7.938 kB / 405.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.506e-05/0.006444, allocations: 11.98 kB / 405.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-06/0.006446, allocations: 0 / 405.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/0.00649, allocations: 7.938 kB / 405.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-06/0.006493, allocations: 0 / 405.8 MB, free: 11.62 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.0001017/0.006594, allocations: 180.3 kB / 406 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.006621, allocations: 3.984 kB / 406 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.006656, allocations: 23.19 kB / 406 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.006657, allocations: 0 / 406 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.00666, allocations: 4 kB / 406 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.006662, allocations: 0 / 406 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.006806, allocations: 117.2 kB / 406.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.006807, allocations: 0 / 406.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.857e-05/0.006876, allocations: 11.98 kB / 406.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.006878, allocations: 0 / 406.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.006886, allocations: 0 / 406.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.00689, allocations: 3.938 kB / 406.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.006891, allocations: 4 kB / 406.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.007169, allocations: 172.4 kB / 406.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.00718, allocations: 11.88 kB / 406.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.007196, allocations: 8 kB / 406.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.673e-05/0.007283, allocations: 7.938 kB / 406.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.007324, allocations: 7.922 kB / 406.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.007332, allocations: 4 kB / 406.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.018e-05/0.007382, allocations: 79.28 kB / 406.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.007382, allocations: 4 kB / 406.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.007651, allocations: 4 kB / 406.5 MB, free: 10.93 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.0001022/0.007753, allocations: 95.78 kB / 406.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.008027, allocations: 63.88 kB / 406.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.008029, allocations: 0 / 406.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.247e-05/0.008122, allocations: 19.98 kB / 406.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.008335, allocations: 4.375 kB / 406.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.008681, allocations: 125.6 kB / 406.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.192e-05/0.008743, allocations: 67.28 kB / 406.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.734e-05/0.00878, allocations: 4 kB / 406.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.211e-05/0.008813, allocations: 12.5 kB / 406.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.008813, allocations: 3.938 kB / 406.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of Templates: time 0.003103/0.01192, allocations: 0.6841 MB / 407.5 MB, free: 9.809 MB / 334.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=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/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: 3.9557407945394516]