Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.001109/0.001109, allocations: 72.55 kB / 19.93 MB, free: 4.621 MB / 18.57 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.001212/0.001212, allocations: 177.9 kB / 23.22 MB, free: 1.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7909/0.7909, allocations: 158.6 MB / 185 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.04054/0.04054, allocations: 10.64 MB / 247.9 MB, free: 4.719 MB / 234.7 MB " [Timeout remaining time 180] 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.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_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_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 369.3 MB, free: 5.898 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.868e-05, allocations: 2.281 kB / 369.3 MB, free: 5.895 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001067/0.001085, allocations: 0.6878 MB / 370 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001839/0.001269, allocations: 59.75 kB / 370.1 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.001303, allocations: 0 / 370.1 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.001331, allocations: 3.938 kB / 370.1 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.084e-05/0.001402, allocations: 7.938 kB / 370.1 MB, free: 5.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.001532, allocations: 19.91 kB / 370.1 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.325e-05/0.001615, allocations: 27.92 kB / 370.1 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.114e-05/0.001697, allocations: 8 kB / 370.2 MB, free: 5.086 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.814e-05/0.001735, allocations: 11.98 kB / 370.2 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.427e-05/0.001779, allocations: 11.98 kB / 370.2 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.001798, allocations: 0 / 370.2 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-06/0.001806, allocations: 8 kB / 370.2 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.00182, allocations: 7.922 kB / 370.2 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.001837, allocations: 8 kB / 370.2 MB, free: 5.039 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.821e-05/0.001905, allocations: 23.95 kB / 370.2 MB, free: 5.016 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.001907, allocations: 0 / 370.2 MB, free: 5.016 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.001908, allocations: 0 / 370.2 MB, free: 5.016 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.001911, allocations: 0 / 370.2 MB, free: 5.016 MB / 298.7 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.0002848/0.002196, allocations: 250.4 kB / 370.5 MB, free: 4.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.002227, allocations: 12.03 kB / 370.5 MB, free: 4.727 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.002253, allocations: 4.891 kB / 370.5 MB, free: 4.723 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.002363, allocations: 121.7 kB / 370.6 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.002371, allocations: 4.375 kB / 370.6 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.00238, allocations: 8.312 kB / 370.6 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.002545, allocations: 94.52 kB / 370.7 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.002553, allocations: 192 / 370.7 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.002564, allocations: 384 / 370.7 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.002568, allocations: 384 / 370.7 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.002668, allocations: 43.83 kB / 370.8 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/0.002901, allocations: 217.5 kB / 371 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.696e-05/0.002998, allocations: 69.11 kB / 371 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.003049, allocations: 33.75 kB / 371.1 MB, free: 4.039 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.003066, allocations: 0 / 371.1 MB, free: 4.039 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.003083, allocations: 34.56 kB / 371.1 MB, free: 3.996 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.003083, allocations: 4 kB / 371.1 MB, free: 3.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002064/0.00329, allocations: 97.47 kB / 371.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.003329, allocations: 110.8 kB / 371.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.751e-05/0.003376, allocations: 97.86 kB / 371.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.003385, allocations: 25.7 kB / 371.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.003422, allocations: 80.14 kB / 371.5 MB, free: 3.539 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.003439, allocations: 16.19 kB / 371.5 MB, free: 3.523 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.003462, allocations: 17.72 kB / 371.5 MB, free: 3.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.003529, allocations: 314.8 kB / 371.8 MB, free: 3.184 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.485e-05/0.003574, allocations: 20.84 kB / 371.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.452e-05/0.003628, allocations: 64.25 kB / 371.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.007e-05/0.003709, allocations: 53.62 kB / 372 MB, free: 3.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.00371, allocations: 4.031 kB / 372 MB, free: 3.016 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001011/0.003811, allocations: 73.59 kB / 372.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.00382, allocations: 4 kB / 372.1 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.003825, allocations: 3.938 kB / 372.1 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.003835, allocations: 0 / 372.1 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.429e-05/0.003889, allocations: 11.98 kB / 372.1 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.003894, allocations: 4 kB / 372.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.474e-05/0.003918, allocations: 8.062 kB / 372.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.003923, allocations: 0 / 372.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.021e-05/0.003963, allocations: 94.09 kB / 372.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.104e-05/0.003994, allocations: 52.27 kB / 372.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.716e-05/0.004041, allocations: 37.59 kB / 372.3 MB, free: 2.703 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.1e-07/0.004042, allocations: 0 / 372.3 MB, free: 2.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 6.064e-05/0.004102, allocations: 53.7 kB / 372.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.847e-06/0.004106, allocations: 4 kB / 372.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.00411, allocations: 11.98 kB / 372.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-06/0.004112, allocations: 3.938 kB / 372.3 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.077e-05/0.004132, allocations: 7.938 kB / 372.3 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-06/0.004133, allocations: 0 / 372.3 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.343e-05/0.004157, allocations: 8 kB / 372.4 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-06/0.004158, allocations: 0 / 372.4 MB, free: 2.609 MB / 298.7 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 5.559e-05/0.004214, allocations: 180.3 kB / 372.5 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.004227, allocations: 8.016 kB / 372.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.572e-05/0.004243, allocations: 19.2 kB / 372.6 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.004244, allocations: 0 / 372.6 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.004247, allocations: 0 / 372.6 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.00425, allocations: 0 / 372.6 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.587e-05/0.004336, allocations: 117.2 kB / 372.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.004336, allocations: 0 / 372.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.357e-05/0.00436, allocations: 8 kB / 372.7 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.004361, allocations: 0 / 372.7 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.004366, allocations: 0 / 372.7 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.004369, allocations: 11.88 kB / 372.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.00437, allocations: 7.984 kB / 372.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.004491, allocations: 176.3 kB / 372.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-06/0.004496, allocations: 0 / 372.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-06/0.004505, allocations: 4 kB / 372.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.847e-05/0.004544, allocations: 7.938 kB / 372.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.004575, allocations: 4.406 kB / 372.9 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.004576, allocations: 4 kB / 372.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.586e-05/0.004602, allocations: 87.27 kB / 373 MB, free: 1.934 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004602, allocations: 4 kB / 373 MB, free: 1.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001713/0.004773, allocations: 4 kB / 373 MB, free: 1.926 MB / 298.7 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 5.725e-05/0.00483, allocations: 99.23 kB / 373.1 MB, free: 1.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.00497, allocations: 55.89 kB / 373.1 MB, free: 1.766 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.004972, allocations: 4 kB / 373.1 MB, free: 1.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.374e-05/0.005015, allocations: 32.11 kB / 373.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.005158, allocations: 4 kB / 373.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.005393, allocations: 151.4 kB / 373.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.914e-05/0.005432, allocations: 67.2 kB / 373.4 MB, free: 1.457 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.005457, allocations: 12.5 kB / 373.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of SimCode: time 2.7e-07/0.005457, allocations: 0 / 373.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of Templates: time 0.001238/0.006695, allocations: 0.6555 MB / 374.1 MB, free: 0.7891 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_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_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.8730211351066828]