Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.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.001811/0.001811, 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.002255/0.002255, allocations: 157.6 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.442/1.442, allocations: 158.6 MB / 184.6 MB, free: 2.887 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.06722/0.06722, allocations: 10.64 MB / 247.5 MB, free: 4.527 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.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 7.938 kB / 316.3 MB, free: 42.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.526e-05/3.761e-05, allocations: 9.219 kB / 316.3 MB, free: 42.26 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001867/0.001905, allocations: 0.6804 MB / 317 MB, free: 41.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003045/0.002209, allocations: 61.94 kB / 317 MB, free: 41.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.002252, allocations: 0 / 317 MB, free: 41.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.002285, allocations: 0.7031 kB / 317 MB, free: 41.62 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.815e-05/0.002383, allocations: 9.297 kB / 317.1 MB, free: 41.62 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.002548, allocations: 14.77 kB / 317.1 MB, free: 41.61 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.00267, allocations: 27.44 kB / 317.1 MB, free: 41.58 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.002765, allocations: 4.938 kB / 317.1 MB, free: 41.58 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.593e-05/0.002821, allocations: 10.77 kB / 317.1 MB, free: 41.57 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.002882, allocations: 10.86 kB / 317.1 MB, free: 41.56 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.002904, allocations: 0 / 317.1 MB, free: 41.56 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.328e-06/0.002913, allocations: 4 kB / 317.1 MB, free: 41.56 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.002931, allocations: 4.875 kB / 317.1 MB, free: 41.55 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.002962, allocations: 8.844 kB / 317.1 MB, free: 41.55 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.831e-05/0.003051, allocations: 29.17 kB / 317.2 MB, free: 41.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003053, allocations: 0 / 317.2 MB, free: 41.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.003054, allocations: 0 / 317.2 MB, free: 41.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.003058, allocations: 3.938 kB / 317.2 MB, free: 41.52 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.0004353/0.003493, allocations: 256.1 kB / 317.4 MB, free: 41.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.003539, allocations: 12.03 kB / 317.4 MB, free: 41.22 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.003595, allocations: 4.891 kB / 317.4 MB, free: 41.22 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.003734, allocations: 113.7 kB / 317.5 MB, free: 41.08 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.003752, allocations: 4.375 kB / 317.6 MB, free: 41.08 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.003765, allocations: 4.375 kB / 317.6 MB, free: 41.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.003974, allocations: 98.52 kB / 317.7 MB, free: 40.96 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.003986, allocations: 8.109 kB / 317.7 MB, free: 40.95 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.003998, allocations: 384 / 317.7 MB, free: 40.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.004004, allocations: 384 / 317.7 MB, free: 40.95 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.004178, allocations: 43.89 kB / 317.7 MB, free: 40.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.00449, allocations: 205.5 kB / 317.9 MB, free: 40.67 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.004657, allocations: 73.12 kB / 318 MB, free: 40.58 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.938e-05/0.004747, allocations: 29.77 kB / 318 MB, free: 40.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.004771, allocations: 0 / 318 MB, free: 40.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.004798, allocations: 39.86 kB / 318 MB, free: 40.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.004799, allocations: 0 / 318 MB, free: 40.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003873/0.005186, allocations: 93.62 kB / 318.1 MB, free: 40.4 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.005231, allocations: 102.8 kB / 318.2 MB, free: 40.28 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.609e-05/0.005297, allocations: 101.8 kB / 318.3 MB, free: 40.17 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.005307, allocations: 33.7 kB / 318.4 MB, free: 40.13 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.00534, allocations: 84.09 kB / 318.4 MB, free: 40.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.005358, allocations: 3.953 kB / 318.5 MB, free: 40.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.005389, allocations: 21.7 kB / 318.5 MB, free: 40.01 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.051e-05/0.00545, allocations: 314.8 kB / 318.8 MB, free: 39.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/0.005534, allocations: 25 kB / 318.8 MB, free: 39.67 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.468e-05/0.005619, allocations: 60.25 kB / 318.9 MB, free: 39.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.005758, allocations: 49.69 kB / 318.9 MB, free: 39.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.00576, allocations: 0 / 318.9 MB, free: 39.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001882/0.005949, allocations: 73.64 kB / 319 MB, free: 39.46 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.005964, allocations: 7.984 kB / 319 MB, free: 39.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.00597, allocations: 7.938 kB / 319 MB, free: 39.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.005989, allocations: 0 / 319 MB, free: 39.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.344e-05/0.006073, allocations: 11.94 kB / 319 MB, free: 39.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.006078, allocations: 0 / 319 MB, free: 39.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.006129, allocations: 9.484 kB / 319 MB, free: 39.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.006136, allocations: 8 kB / 319 MB, free: 39.42 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.685e-05/0.006193, allocations: 88.12 kB / 319.1 MB, free: 39.33 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.903e-05/0.006242, allocations: 60.28 kB / 319.2 MB, free: 39.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.625e-05/0.006308, allocations: 25.7 kB / 319.2 MB, free: 39.22 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.283e-06/0.00631, allocations: 1.953 kB / 319.2 MB, free: 39.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001046/0.006414, allocations: 57.58 kB / 319.3 MB, free: 39.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.301e-06/0.006421, allocations: 10.19 kB / 319.3 MB, free: 39.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-06/0.006422, allocations: 0 / 319.3 MB, free: 39.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-06/0.006425, allocations: 8.031 kB / 319.3 MB, free: 39.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.26e-05/0.006457, allocations: 7.984 kB / 319.3 MB, free: 39.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-06/0.006458, allocations: 4 kB / 319.3 MB, free: 39.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/0.006493, allocations: 4 kB / 319.3 MB, free: 39.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-06/0.006495, allocations: 0 / 319.3 MB, free: 39.13 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.59e-05/0.006561, allocations: 176.3 kB / 319.5 MB, free: 38.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.006585, allocations: 4 kB / 319.5 MB, free: 38.95 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.006607, allocations: 19.19 kB / 319.5 MB, free: 38.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.00661, allocations: 4 kB / 319.5 MB, free: 38.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.006615, allocations: 0.875 kB / 319.5 MB, free: 38.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006618, allocations: 7.938 kB / 319.5 MB, free: 38.92 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.006718, allocations: 105.3 kB / 319.6 MB, free: 38.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.00672, allocations: 0 / 319.6 MB, free: 38.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.144e-05/0.006771, allocations: 11.98 kB / 319.6 MB, free: 38.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006773, allocations: 4 kB / 319.6 MB, free: 38.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.006781, allocations: 4 kB / 319.6 MB, free: 38.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.006783, allocations: 3.938 kB / 319.6 MB, free: 38.76 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/0.006794, allocations: 384 / 319.6 MB, free: 38.76 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.006989, allocations: 176.4 kB / 319.8 MB, free: 38.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.006998, allocations: 7.953 kB / 319.8 MB, free: 38.56 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.007014, allocations: 3.984 kB / 319.8 MB, free: 38.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.328e-05/0.007087, allocations: 7.938 kB / 319.8 MB, free: 38.55 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.007134, allocations: 11.92 kB / 319.8 MB, free: 38.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.007137, allocations: 0 / 319.8 MB, free: 38.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.055e-05/0.007157, allocations: 87.22 kB / 319.9 MB, free: 38.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007158, allocations: 0 / 319.9 MB, free: 38.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002605/0.007418, allocations: 8 kB / 319.9 MB, free: 38.45 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 8.056e-05/0.007499, allocations: 95.25 kB / 320 MB, free: 38.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.007733, allocations: 55.89 kB / 320.1 MB, free: 38.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.007735, allocations: 0 / 320.1 MB, free: 38.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.857e-05/0.007813, allocations: 27.97 kB / 320.1 MB, free: 38.26 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.008041, allocations: 4 kB / 320.1 MB, free: 38.26 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.008353, allocations: 136.9 kB / 320.2 MB, free: 38.1 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.115e-05/0.008394, allocations: 63.34 kB / 320.3 MB, free: 38.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.032e-05/0.008434, allocations: 0 / 320.3 MB, free: 38.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.008468, allocations: 16.5 kB / 320.3 MB, free: 38 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008469, allocations: 0 / 320.3 MB, free: 38 MB / 282.7 MB Notification: Performance of Templates: time 0.002935/0.0114, allocations: 0.6682 MB / 321 MB, free: 37.34 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.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.731306061032228]