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.001271/0.001271, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001364/0.001364, allocations: 169 kB / 23.27 MB, free: 1.223 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.9049/0.9049, allocations: 158.6 MB / 185.2 MB, free: 2.781 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.041/0.041, allocations: 10.65 MB / 248.2 MB, free: 4.285 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.955e-06/2.955e-06, allocations: 0.6094 kB / 317.5 MB, free: 41.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.666e-05, allocations: 6.312 kB / 317.5 MB, free: 41.71 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.00217/0.002197, allocations: 0.7014 MB / 318.2 MB, free: 41.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001938/0.002391, allocations: 47.81 kB / 318.2 MB, free: 40.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.002423, allocations: 0 / 318.2 MB, free: 40.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.263e-05/0.002465, allocations: 11.92 kB / 318.2 MB, free: 40.96 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.589e-05/0.002541, allocations: 8 kB / 318.2 MB, free: 40.96 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.002657, allocations: 11.98 kB / 318.2 MB, free: 40.95 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.456e-05/0.002731, allocations: 23.88 kB / 318.3 MB, free: 40.92 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.373e-05/0.002805, allocations: 11.97 kB / 318.3 MB, free: 40.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.225e-05/0.002847, allocations: 11.94 kB / 318.3 MB, free: 40.9 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.306e-05/0.00289, allocations: 11.98 kB / 318.3 MB, free: 40.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.002906, allocations: 0 / 318.3 MB, free: 40.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.462e-06/0.002913, allocations: 4 kB / 318.3 MB, free: 40.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.002928, allocations: 4 kB / 318.3 MB, free: 40.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.536e-05/0.002944, allocations: 15.3 kB / 318.3 MB, free: 40.87 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.292e-05/0.003006, allocations: 19.92 kB / 318.3 MB, free: 40.85 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.003009, allocations: 0 / 318.3 MB, free: 40.85 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.00301, allocations: 0 / 318.3 MB, free: 40.85 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.196e-05/0.003032, allocations: 0 / 318.3 MB, free: 40.85 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.0002238/0.003255, allocations: 354.8 kB / 318.7 MB, free: 40.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.003287, allocations: 12.03 kB / 318.7 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.242e-05/0.003309, allocations: 9.797 kB / 318.7 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.796e-05/0.003377, allocations: 112.6 kB / 318.8 MB, free: 40.31 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.003394, allocations: 384 / 318.8 MB, free: 40.31 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-06/0.0034, allocations: 4.375 kB / 318.8 MB, free: 40.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.003505, allocations: 119.6 kB / 318.9 MB, free: 40.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.003511, allocations: 192 / 318.9 MB, free: 40.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.003517, allocations: 384 / 318.9 MB, free: 40.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.003521, allocations: 1.438 kB / 319 MB, free: 40.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.844e-05/0.00354, allocations: 11.94 kB / 319 MB, free: 40.15 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.003697, allocations: 252.1 kB / 319.2 MB, free: 39.87 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.792e-05/0.003745, allocations: 62.17 kB / 319.3 MB, free: 39.79 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.003762, allocations: 23.44 kB / 319.3 MB, free: 39.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.003778, allocations: 3.984 kB / 319.3 MB, free: 39.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.003792, allocations: 45.27 kB / 319.3 MB, free: 39.7 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.003793, allocations: 0 / 319.3 MB, free: 39.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 9.41e-05/0.003887, allocations: 53.56 kB / 319.4 MB, free: 39.64 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/0.003908, allocations: 106.8 kB / 319.5 MB, free: 39.51 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.16e-05/0.003939, allocations: 157.9 kB / 319.7 MB, free: 39.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.478e-06/0.003944, allocations: 25.7 kB / 319.7 MB, free: 39.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.958e-05/0.003963, allocations: 131.1 kB / 319.8 MB, free: 39.17 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.003976, allocations: 15.94 kB / 319.8 MB, free: 39.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.003996, allocations: 19.38 kB / 319.8 MB, free: 39.13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.168e-05/0.004038, allocations: 0.4884 MB / 320.3 MB, free: 38.63 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.004049, allocations: 7.688 kB / 320.3 MB, free: 38.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/0.004068, allocations: 60.75 kB / 320.4 MB, free: 38.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.024e-05/0.004088, allocations: 27.31 kB / 320.4 MB, free: 38.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.00409, allocations: 4 kB / 320.4 MB, free: 38.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.823e-05/0.004128, allocations: 42.61 kB / 320.5 MB, free: 38.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.004137, allocations: 7.984 kB / 320.5 MB, free: 38.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.004141, allocations: 3.938 kB / 320.5 MB, free: 38.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.004151, allocations: 3.938 kB / 320.5 MB, free: 38.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.005e-05/0.004191, allocations: 12 kB / 320.5 MB, free: 38.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.004193, allocations: 0 / 320.5 MB, free: 38.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.004212, allocations: 7.984 kB / 320.5 MB, free: 38.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.004216, allocations: 4 kB / 320.5 MB, free: 38.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 1.85e-05/0.004234, allocations: 130.9 kB / 320.6 MB, free: 38.28 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.223e-05/0.004247, allocations: 52.83 kB / 320.7 MB, free: 38.21 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.139e-05/0.004258, allocations: 23.41 kB / 320.7 MB, free: 38.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.11e-07/0.004258, allocations: 4 kB / 320.7 MB, free: 38.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 3.222e-05/0.004291, allocations: 49.58 kB / 320.8 MB, free: 38.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5e-06/0.004296, allocations: 9.406 kB / 320.8 MB, free: 38.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.32e-07/0.004296, allocations: 0 / 320.8 MB, free: 38.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.32e-07/0.004297, allocations: 0 / 320.8 MB, free: 38.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.109e-05/0.004309, allocations: 4 kB / 320.8 MB, free: 38.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-06/0.00431, allocations: 15.94 kB / 320.8 MB, free: 38.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.296e-05/0.004323, allocations: 7.922 kB / 320.8 MB, free: 38.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-06/0.004325, allocations: 4 kB / 320.8 MB, free: 38.08 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 3.608e-05/0.004361, allocations: 264.1 kB / 321.1 MB, free: 37.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.004373, allocations: 8 kB / 321.1 MB, free: 37.81 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.947e-05/0.004392, allocations: 7.25 kB / 321.1 MB, free: 37.8 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.004394, allocations: 3.938 kB / 321.1 MB, free: 37.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.004396, allocations: 4 kB / 321.1 MB, free: 37.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.004398, allocations: 0 / 321.1 MB, free: 37.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.446e-05/0.004463, allocations: 105.2 kB / 321.2 MB, free: 37.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.004463, allocations: 4 kB / 321.2 MB, free: 37.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.477e-05/0.004478, allocations: 8 kB / 321.2 MB, free: 37.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-07/0.004478, allocations: 0 / 321.2 MB, free: 37.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.004482, allocations: 0 / 321.2 MB, free: 37.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.004483, allocations: 3.984 kB / 321.2 MB, free: 37.65 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.004484, allocations: 0 / 321.2 MB, free: 37.65 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.294e-05/0.004537, allocations: 199.5 kB / 321.4 MB, free: 37.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-06/0.004543, allocations: 7.938 kB / 321.4 MB, free: 37.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.394e-06/0.00455, allocations: 8 kB / 321.4 MB, free: 37.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.9e-05/0.004579, allocations: 4 kB / 321.4 MB, free: 37.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.004604, allocations: 12.34 kB / 321.4 MB, free: 37.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-06/0.004606, allocations: 0 / 321.4 MB, free: 37.4 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.325e-05/0.004619, allocations: 127.2 kB / 321.5 MB, free: 37.28 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004619, allocations: 0 / 321.5 MB, free: 37.28 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001567/0.004776, allocations: 12 kB / 321.6 MB, free: 37.27 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 5.26e-05/0.004828, allocations: 91.25 kB / 321.6 MB, free: 37.17 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.103e-05/0.004889, allocations: 39.3 kB / 321.7 MB, free: 37.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.00489, allocations: 256 / 321.7 MB, free: 37.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.432e-05/0.004905, allocations: 27.59 kB / 321.7 MB, free: 37.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.005041, allocations: 8 kB / 321.7 MB, free: 37.08 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001481/0.005189, allocations: 126 kB / 321.8 MB, free: 36.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.54e-05/0.005214, allocations: 51.36 kB / 321.9 MB, free: 36.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.944e-05/0.005234, allocations: 8.125 kB / 321.9 MB, free: 36.85 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.005269, allocations: 78.19 kB / 322 MB, free: 36.77 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.005269, allocations: 0 / 322 MB, free: 36.77 MB / 282.7 MB Notification: Performance of Templates: time 0.001623/0.006891, allocations: 0.7435 MB / 322.7 MB, free: 36.05 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=240 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.806657775770873]