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.001368/0.001368, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001599/0.001599, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.458/1.458, allocations: 158.6 MB / 184.6 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.06825/0.06825, allocations: 10.65 MB / 247.5 MB, free: 4.523 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 2.034e-06/2.034e-06, allocations: 0 / 316.3 MB, free: 42.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.522e-05/3.725e-05, allocations: 4.109 kB / 316.3 MB, free: 42.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001796/0.001833, allocations: 0.6958 MB / 317 MB, free: 41.67 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002402/0.002073, allocations: 59.59 kB / 317 MB, free: 41.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.002119, allocations: 0 / 317 MB, free: 41.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.002147, allocations: 0 / 317 MB, free: 41.62 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.914e-05/0.002236, allocations: 5.203 kB / 317.1 MB, free: 41.62 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.002395, allocations: 15.7 kB / 317.1 MB, free: 41.61 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.002504, allocations: 28.39 kB / 317.1 MB, free: 41.58 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.141e-05/0.002595, allocations: 5.125 kB / 317.1 MB, free: 41.58 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.127e-05/0.002657, allocations: 18.58 kB / 317.1 MB, free: 41.56 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.904e-05/0.002726, allocations: 11.5 kB / 317.1 MB, free: 41.55 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.002745, allocations: 0 / 317.1 MB, free: 41.55 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.002756, allocations: 7.938 kB / 317.1 MB, free: 41.55 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.002772, allocations: 4 kB / 317.1 MB, free: 41.54 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.002801, allocations: 7.984 kB / 317.1 MB, free: 41.54 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.172e-05/0.002883, allocations: 27.91 kB / 317.2 MB, free: 41.51 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002885, allocations: 0 / 317.2 MB, free: 41.51 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.002885, allocations: 3.938 kB / 317.2 MB, free: 41.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.002889, allocations: 0 / 317.2 MB, free: 41.5 MB / 282.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.000392/0.003281, allocations: 260.1 kB / 317.4 MB, free: 41.22 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.003326, allocations: 12.03 kB / 317.4 MB, free: 41.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.003375, allocations: 4.891 kB / 317.4 MB, free: 41.2 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.003513, allocations: 109.7 kB / 317.6 MB, free: 41.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.003526, allocations: 384 / 317.6 MB, free: 41.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.003539, allocations: 8.375 kB / 317.6 MB, free: 41.06 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.003754, allocations: 106.5 kB / 317.7 MB, free: 40.94 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.003765, allocations: 4.125 kB / 317.7 MB, free: 40.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.003781, allocations: 384 / 317.7 MB, free: 40.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.003785, allocations: 4.375 kB / 317.7 MB, free: 40.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.00395, allocations: 39.91 kB / 317.7 MB, free: 40.89 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.004267, allocations: 213.5 kB / 317.9 MB, free: 40.65 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.004434, allocations: 65.12 kB / 318 MB, free: 40.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.04e-05/0.004525, allocations: 33.77 kB / 318 MB, free: 40.53 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.00455, allocations: 4 kB / 318 MB, free: 40.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.004572, allocations: 30.56 kB / 318.1 MB, free: 40.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.004573, allocations: 0 / 318.1 MB, free: 40.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003786/0.004952, allocations: 97.52 kB / 318.2 MB, free: 40.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.004989, allocations: 103.1 kB / 318.3 MB, free: 40.26 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.836e-05/0.005048, allocations: 109.8 kB / 318.4 MB, free: 40.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.005059, allocations: 25.7 kB / 318.4 MB, free: 40.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.005091, allocations: 88.09 kB / 318.5 MB, free: 40.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.00511, allocations: 7.953 kB / 318.5 MB, free: 40.01 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.005139, allocations: 13.72 kB / 318.5 MB, free: 39.99 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.365e-05/0.005203, allocations: 314.8 kB / 318.8 MB, free: 39.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.481e-05/0.005288, allocations: 24.83 kB / 318.8 MB, free: 39.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-05/0.005374, allocations: 60.27 kB / 318.9 MB, free: 39.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.005523, allocations: 53.72 kB / 318.9 MB, free: 39.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.005524, allocations: 0 / 318.9 MB, free: 39.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001842/0.005708, allocations: 73.59 kB / 319 MB, free: 39.44 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.005723, allocations: 8 kB / 319 MB, free: 39.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.005728, allocations: 3.938 kB / 319 MB, free: 39.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.00575, allocations: 8 kB / 319 MB, free: 39.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.005851, allocations: 11.98 kB / 319 MB, free: 39.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.005856, allocations: 0 / 319 MB, free: 39.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.656e-05/0.005913, allocations: 11.98 kB / 319 MB, free: 39.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.005919, allocations: 0 / 319 MB, free: 39.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.242e-05/0.005982, allocations: 92.08 kB / 319.1 MB, free: 39.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.609e-05/0.006028, allocations: 56.27 kB / 319.2 MB, free: 39.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.817e-05/0.006096, allocations: 33.73 kB / 319.2 MB, free: 39.19 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.22e-07/0.006097, allocations: 0 / 319.2 MB, free: 39.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001072/0.006204, allocations: 57.58 kB / 319.3 MB, free: 39.13 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.302e-06/0.00621, allocations: 5.875 kB / 319.3 MB, free: 39.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-06/0.006212, allocations: 1.953 kB / 319.3 MB, free: 39.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-06/0.006216, allocations: 7.938 kB / 319.3 MB, free: 39.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.414e-05/0.00625, allocations: 4 kB / 319.3 MB, free: 39.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-06/0.006251, allocations: 0 / 319.3 MB, free: 39.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.006291, allocations: 12.05 kB / 319.3 MB, free: 39.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-06/0.006294, allocations: 0 / 319.3 MB, free: 39.1 MB / 282.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 6.476e-05/0.006358, allocations: 180.3 kB / 319.5 MB, free: 38.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.006384, allocations: 4 kB / 319.5 MB, free: 38.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.00641, allocations: 15.2 kB / 319.5 MB, free: 38.9 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.006411, allocations: 0 / 319.5 MB, free: 38.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.006418, allocations: 3.938 kB / 319.5 MB, free: 38.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.006421, allocations: 384 / 319.5 MB, free: 38.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.006526, allocations: 117.2 kB / 319.6 MB, free: 38.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006527, allocations: 0 / 319.6 MB, free: 38.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.006585, allocations: 19.98 kB / 319.6 MB, free: 38.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006587, allocations: 0 / 319.6 MB, free: 38.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.006594, allocations: 0 / 319.6 MB, free: 38.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.006597, allocations: 7.938 kB / 319.7 MB, free: 38.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.006598, allocations: 3.984 kB / 319.7 MB, free: 38.72 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.006808, allocations: 168.4 kB / 319.8 MB, free: 38.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.006816, allocations: 3.953 kB / 319.8 MB, free: 38.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.006831, allocations: 4 kB / 319.8 MB, free: 38.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.006914, allocations: 15.92 kB / 319.8 MB, free: 38.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.006963, allocations: 11.94 kB / 319.9 MB, free: 38.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.006967, allocations: 7.922 kB / 319.9 MB, free: 38.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.283e-05/0.00699, allocations: 79.28 kB / 319.9 MB, free: 38.42 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00699, allocations: 0 / 319.9 MB, free: 38.42 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002706/0.00726, allocations: 8 kB / 320 MB, free: 38.41 MB / 282.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 9.194e-05/0.007352, allocations: 99.25 kB / 320 MB, free: 38.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002486/0.007601, allocations: 55.89 kB / 320.1 MB, free: 38.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.007603, allocations: 0 / 320.1 MB, free: 38.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.709e-05/0.00769, allocations: 19.98 kB / 320.1 MB, free: 38.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.007927, allocations: 7.984 kB / 320.1 MB, free: 38.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.008275, allocations: 132.5 kB / 320.3 MB, free: 38.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.096e-05/0.008316, allocations: 59.73 kB / 320.3 MB, free: 37.99 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.323e-05/0.00836, allocations: 7.984 kB / 320.3 MB, free: 37.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.008395, allocations: 12.5 kB / 320.3 MB, free: 37.97 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008395, allocations: 0 / 320.3 MB, free: 37.97 MB / 282.7 MB Notification: Performance of Templates: time 0.00315/0.01155, allocations: 0.6994 MB / 321 MB, free: 37.28 MB / 282.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: 4.803970186039805]