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.0009934/0.0009934, allocations: 93.06 kB / 19.65 MB, free: 272 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.001228/0.001228, allocations: 169 kB / 23.02 MB, free: 1.539 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.9511/0.9511, allocations: 158.6 MB / 184.9 MB, free: 2.918 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.03927/0.03927, allocations: 10.65 MB / 247.9 MB, free: 4.453 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 1.783e-06/1.783e-06, allocations: 0 / 317 MB, free: 41.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.79e-05, allocations: 2.969 kB / 317 MB, free: 41.95 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001223/0.001241, allocations: 0.7058 MB / 317.7 MB, free: 41.31 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002109/0.001452, allocations: 51.8 kB / 317.8 MB, free: 41.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.368e-05/0.001496, allocations: 0 / 317.8 MB, free: 41.26 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.37e-05/0.001529, allocations: 0 / 317.8 MB, free: 41.26 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.464e-05/0.001624, allocations: 7.938 kB / 317.8 MB, free: 41.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.001775, allocations: 11.98 kB / 317.8 MB, free: 41.24 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.968e-05/0.001875, allocations: 31.92 kB / 317.8 MB, free: 41.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.535e-05/0.00196, allocations: 3.938 kB / 317.8 MB, free: 41.21 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.183e-05/0.002002, allocations: 11.98 kB / 317.8 MB, free: 41.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.36e-05/0.002046, allocations: 19.91 kB / 317.9 MB, free: 41.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.002069, allocations: 4 kB / 317.9 MB, free: 41.17 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.002077, allocations: 0 / 317.9 MB, free: 41.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.002093, allocations: 4 kB / 317.9 MB, free: 41.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.019e-05/0.002113, allocations: 7.375 kB / 317.9 MB, free: 41.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.907e-05/0.002193, allocations: 23.86 kB / 317.9 MB, free: 41.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.002195, allocations: 0 / 317.9 MB, free: 41.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.002195, allocations: 0 / 317.9 MB, free: 41.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.002199, allocations: 4 kB / 317.9 MB, free: 41.14 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.0002832/0.002482, allocations: 354.8 kB / 318.3 MB, free: 40.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.002516, allocations: 8.031 kB / 318.3 MB, free: 40.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.002554, allocations: 9.234 kB / 318.3 MB, free: 40.74 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.967e-05/0.002654, allocations: 112.6 kB / 318.4 MB, free: 40.6 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.002669, allocations: 8.375 kB / 318.4 MB, free: 40.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.002677, allocations: 384 / 318.4 MB, free: 40.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.002815, allocations: 115.6 kB / 318.5 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.002822, allocations: 4.188 kB / 318.5 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.002831, allocations: 384 / 318.5 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.002838, allocations: 4.375 kB / 318.5 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.888e-05/0.002867, allocations: 11.92 kB / 318.5 MB, free: 40.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002152/0.003082, allocations: 263.5 kB / 318.8 MB, free: 40.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.869e-05/0.003151, allocations: 66.22 kB / 318.8 MB, free: 40.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/0.003177, allocations: 19.44 kB / 318.9 MB, free: 40.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.003192, allocations: 3.984 kB / 318.9 MB, free: 40.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.00321, allocations: 41.33 kB / 318.9 MB, free: 39.96 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.003211, allocations: 4 kB / 318.9 MB, free: 39.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001441/0.003355, allocations: 53.58 kB / 319 MB, free: 39.9 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.003389, allocations: 106.8 kB / 319.1 MB, free: 39.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.538e-05/0.003434, allocations: 157.9 kB / 319.2 MB, free: 39.6 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.003441, allocations: 25.7 kB / 319.2 MB, free: 39.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.559e-05/0.003467, allocations: 138.8 kB / 319.4 MB, free: 39.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.003483, allocations: 7.953 kB / 319.4 MB, free: 39.42 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.003506, allocations: 23.36 kB / 319.4 MB, free: 39.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.003546, allocations: 496.1 kB / 319.9 MB, free: 38.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.003564, allocations: 15.94 kB / 319.9 MB, free: 38.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-05/0.003588, allocations: 56.77 kB / 320 MB, free: 38.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.134e-05/0.00362, allocations: 31.3 kB / 320 MB, free: 38.76 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.003622, allocations: 4 kB / 320 MB, free: 38.76 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.872e-05/0.00367, allocations: 45.64 kB / 320 MB, free: 38.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.003681, allocations: 4 kB / 320.1 MB, free: 38.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.003686, allocations: 3.938 kB / 320.1 MB, free: 38.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.003699, allocations: 4.094 kB / 320.1 MB, free: 38.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.003758, allocations: 15.92 kB / 320.1 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.003764, allocations: 4 kB / 320.1 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.003785, allocations: 4 kB / 320.1 MB, free: 38.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.003789, allocations: 0 / 320.1 MB, free: 38.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 2.266e-05/0.003812, allocations: 130.9 kB / 320.2 MB, free: 38.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.613e-05/0.003828, allocations: 56.77 kB / 320.3 MB, free: 38.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.545e-05/0.003844, allocations: 23.38 kB / 320.3 MB, free: 38.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.5e-07/0.003844, allocations: 32 / 320.3 MB, free: 38.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 3.347e-05/0.003877, allocations: 57.58 kB / 320.3 MB, free: 38.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.809e-06/0.003882, allocations: 5.719 kB / 320.4 MB, free: 38.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-06/0.003883, allocations: 4 kB / 320.4 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-06/0.003885, allocations: 3.938 kB / 320.4 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.225e-05/0.003897, allocations: 4.375 kB / 320.4 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.61e-07/0.003898, allocations: 0 / 320.4 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.003913, allocations: 11.92 kB / 320.4 MB, free: 38.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-06/0.003914, allocations: 3.938 kB / 320.4 MB, free: 38.34 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.893e-05/0.003952, allocations: 276.1 kB / 320.6 MB, free: 38.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.003966, allocations: 4 kB / 320.7 MB, free: 38.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.96e-05/0.003986, allocations: 11.23 kB / 320.7 MB, free: 38.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.003988, allocations: 0 / 320.7 MB, free: 38.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.003991, allocations: 4 kB / 320.7 MB, free: 38.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.003994, allocations: 4 kB / 320.7 MB, free: 38.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.99e-05/0.004064, allocations: 116.6 kB / 320.8 MB, free: 37.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.004065, allocations: 0 / 320.8 MB, free: 37.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.66e-05/0.004081, allocations: 4 kB / 320.8 MB, free: 37.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.004082, allocations: 4 kB / 320.8 MB, free: 37.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.004089, allocations: 0 / 320.8 MB, free: 37.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.004091, allocations: 11.92 kB / 320.8 MB, free: 37.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.004091, allocations: 0 / 320.8 MB, free: 37.88 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.903e-05/0.00415, allocations: 203.6 kB / 321 MB, free: 37.65 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-06/0.004157, allocations: 7.953 kB / 321 MB, free: 37.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-06/0.004166, allocations: 7.938 kB / 321 MB, free: 37.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.243e-05/0.004198, allocations: 7.938 kB / 321 MB, free: 37.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.004231, allocations: 3.984 kB / 321 MB, free: 37.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-06/0.004232, allocations: 0 / 321 MB, free: 37.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.885e-05/0.004251, allocations: 127.2 kB / 321.2 MB, free: 37.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004251, allocations: 0 / 321.2 MB, free: 37.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001698/0.004421, allocations: 12 kB / 321.2 MB, free: 37.49 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 4.967e-05/0.004471, allocations: 91.25 kB / 321.3 MB, free: 37.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.403e-05/0.004565, allocations: 43.3 kB / 321.3 MB, free: 37.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.004566, allocations: 0 / 321.3 MB, free: 37.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.696e-05/0.004583, allocations: 23.61 kB / 321.3 MB, free: 37.31 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.004729, allocations: 8 kB / 321.3 MB, free: 37.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001906/0.004919, allocations: 126.3 kB / 321.5 MB, free: 37.15 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.221e-05/0.004941, allocations: 55.36 kB / 321.5 MB, free: 37.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.164e-05/0.004963, allocations: 3.984 kB / 321.5 MB, free: 37.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.004987, allocations: 12.5 kB / 321.5 MB, free: 37.06 MB / 282.7 MB Notification: Performance of SimCode: time 4.3e-07/0.004988, allocations: 4 kB / 321.5 MB, free: 37.05 MB / 282.7 MB Notification: Performance of Templates: time 0.002085/0.007073, allocations: 0.7183 MB / 322.2 MB, free: 36.35 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.766132088843733]