Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.0009733/0.0009733, allocations: 88.22 kB / 20.95 MB, free: 3.602 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.002037/0.002037, allocations: 169.3 kB / 24.26 MB, free: 300 kB / 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.877/0.877, allocations: 158.6 MB / 186.1 MB, free: 2.496 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.04112/0.04112, allocations: 10.65 MB / 249 MB, free: 4.496 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_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 317.8 MB, free: 42.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.626e-05, allocations: 3.078 kB / 317.8 MB, free: 42.24 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001369/0.001395, allocations: 0.7043 MB / 318.5 MB, free: 41.64 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001559/0.001551, allocations: 47.83 kB / 318.6 MB, free: 41.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.001579, allocations: 0 / 318.6 MB, free: 41.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.963e-05/0.001598, allocations: 7.984 kB / 318.6 MB, free: 41.58 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.663e-05/0.001655, allocations: 7.875 kB / 318.6 MB, free: 41.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001027/0.001758, allocations: 19.97 kB / 318.6 MB, free: 41.55 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.238e-05/0.00183, allocations: 19.94 kB / 318.6 MB, free: 41.54 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.899e-05/0.001889, allocations: 7.984 kB / 318.6 MB, free: 41.53 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.411e-05/0.001923, allocations: 15.94 kB / 318.6 MB, free: 41.51 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.178e-05/0.001955, allocations: 7.984 kB / 318.6 MB, free: 41.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.001971, allocations: 0 / 318.6 MB, free: 41.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-06/0.001977, allocations: 4 kB / 318.6 MB, free: 41.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.001989, allocations: 7.938 kB / 318.7 MB, free: 41.49 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.61e-05/0.002005, allocations: 11.36 kB / 318.7 MB, free: 41.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.279e-05/0.002058, allocations: 19.91 kB / 318.7 MB, free: 41.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.00206, allocations: 0 / 318.7 MB, free: 41.46 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.00206, allocations: 4 kB / 318.7 MB, free: 41.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.002064, allocations: 0 / 318.7 MB, free: 41.46 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.0002378/0.002301, allocations: 354.8 kB / 319 MB, free: 41.08 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.00233, allocations: 12.03 kB / 319 MB, free: 41.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.00236, allocations: 5.234 kB / 319.1 MB, free: 41.06 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.9e-05/0.002449, allocations: 116.6 kB / 319.2 MB, free: 40.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.002463, allocations: 384 / 319.2 MB, free: 40.92 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.002471, allocations: 8.312 kB / 319.2 MB, free: 40.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.002593, allocations: 119.6 kB / 319.3 MB, free: 40.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.932e-06/0.002599, allocations: 192 / 319.3 MB, free: 40.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.002606, allocations: 4.375 kB / 319.3 MB, free: 40.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.002613, allocations: 4.375 kB / 319.3 MB, free: 40.76 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.782e-05/0.002641, allocations: 7.938 kB / 319.3 MB, free: 40.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.00284, allocations: 263.5 kB / 319.6 MB, free: 40.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.57e-05/0.002896, allocations: 66.11 kB / 319.6 MB, free: 40.37 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.243e-05/0.002918, allocations: 23.5 kB / 319.7 MB, free: 40.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.002931, allocations: 0 / 319.7 MB, free: 40.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.002947, allocations: 45.33 kB / 319.7 MB, free: 40.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.002948, allocations: 4 kB / 319.7 MB, free: 40.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001208/0.003069, allocations: 53.56 kB / 319.8 MB, free: 40.22 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.003091, allocations: 106.8 kB / 319.9 MB, free: 40.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.975e-05/0.003131, allocations: 153.9 kB / 320 MB, free: 39.92 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.003137, allocations: 29.69 kB / 320 MB, free: 39.89 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.073e-05/0.003158, allocations: 134.8 kB / 320.2 MB, free: 39.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.003169, allocations: 7.953 kB / 320.2 MB, free: 39.74 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/0.00319, allocations: 15.38 kB / 320.2 MB, free: 39.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.956e-05/0.00323, allocations: 0.4926 MB / 320.7 MB, free: 39.21 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.003247, allocations: 15.67 kB / 320.7 MB, free: 39.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.306e-05/0.00327, allocations: 52.77 kB / 320.8 MB, free: 39.12 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.629e-05/0.003296, allocations: 31.31 kB / 320.8 MB, free: 39.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.003297, allocations: 0 / 320.8 MB, free: 39.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.402e-05/0.003341, allocations: 49.69 kB / 320.8 MB, free: 39.03 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/0.003349, allocations: 4 kB / 320.8 MB, free: 39.03 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.003354, allocations: 4.031 kB / 320.8 MB, free: 39.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.003364, allocations: 4 kB / 320.8 MB, free: 39.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.87e-05/0.003412, allocations: 11.94 kB / 320.9 MB, free: 39.01 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.003416, allocations: 0 / 320.9 MB, free: 39.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.003438, allocations: 7.984 kB / 320.9 MB, free: 39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.003442, allocations: 0 / 320.9 MB, free: 39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 2.183e-05/0.003464, allocations: 134.9 kB / 321 MB, free: 38.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.397e-05/0.003478, allocations: 56.75 kB / 321 MB, free: 38.79 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.531e-05/0.003493, allocations: 31.31 kB / 321.1 MB, free: 38.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.9e-07/0.003493, allocations: 4.031 kB / 321.1 MB, free: 38.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 3.231e-05/0.003526, allocations: 47.55 kB / 321.1 MB, free: 38.7 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.927e-06/0.00353, allocations: 5.875 kB / 321.1 MB, free: 38.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-07/0.00353, allocations: 0 / 321.1 MB, free: 38.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-06/0.003532, allocations: 3.938 kB / 321.1 MB, free: 38.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.327e-05/0.003545, allocations: 11.98 kB / 321.2 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.21e-07/0.003545, allocations: 0 / 321.2 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.493e-05/0.00356, allocations: 7.938 kB / 321.2 MB, free: 38.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-06/0.003563, allocations: 8 kB / 321.2 MB, free: 38.66 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 7.696e-05/0.00364, allocations: 276.1 kB / 321.4 MB, free: 38.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.003655, allocations: 0 / 321.4 MB, free: 38.38 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.003673, allocations: 19.23 kB / 321.5 MB, free: 38.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.003675, allocations: 0 / 321.5 MB, free: 38.37 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.003678, allocations: 384 / 321.5 MB, free: 38.37 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.00368, allocations: 0 / 321.5 MB, free: 38.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.075e-05/0.003751, allocations: 108.6 kB / 321.6 MB, free: 38.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.003752, allocations: 0 / 321.6 MB, free: 38.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.991e-05/0.003782, allocations: 11.98 kB / 321.6 MB, free: 38.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.003783, allocations: 3.984 kB / 321.6 MB, free: 38.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.003788, allocations: 4 kB / 321.6 MB, free: 38.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.003789, allocations: 7.938 kB / 321.6 MB, free: 38.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.00379, allocations: 0 / 321.6 MB, free: 38.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.003975, allocations: 1.391 MB / 323 MB, free: 36.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-06/0.003982, allocations: 0 / 323 MB, free: 36.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-06/0.003991, allocations: 0 / 323 MB, free: 36.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.5e-05/0.004026, allocations: 7.984 kB / 323 MB, free: 36.72 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.004054, allocations: 11.94 kB / 323 MB, free: 36.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.004057, allocations: 0 / 323 MB, free: 36.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.632e-05/0.004073, allocations: 127.2 kB / 323.1 MB, free: 36.58 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004073, allocations: 4 kB / 323.1 MB, free: 36.58 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003089/0.004382, allocations: 11.94 kB / 323.1 MB, free: 36.57 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.012e-05/0.004432, allocations: 91.25 kB / 323.2 MB, free: 36.47 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.679e-05/0.004509, allocations: 43.3 kB / 323.3 MB, free: 36.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.00451, allocations: 0 / 323.3 MB, free: 36.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.129e-05/0.004532, allocations: 19.62 kB / 323.3 MB, free: 36.39 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.004673, allocations: 8.375 kB / 323.3 MB, free: 36.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001985/0.004871, allocations: 293 kB / 323.6 MB, free: 36.05 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.043e-05/0.004892, allocations: 63.23 kB / 323.6 MB, free: 35.97 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.126e-05/0.004913, allocations: 3.984 kB / 323.6 MB, free: 35.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.004933, allocations: 16.5 kB / 323.7 MB, free: 35.95 MB / 282.7 MB Notification: Performance of SimCode: time 2.9e-07/0.004933, allocations: 0 / 323.7 MB, free: 35.95 MB / 282.7 MB Notification: Performance of Templates: time 0.00197/0.006903, allocations: 0.6766 MB / 324.3 MB, free: 35.29 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_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.7129277898930013]