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.001221/0.001221, allocations: 71.77 kB / 20.73 MB, free: 3.762 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.00164/0.00164, allocations: 173 kB / 24.15 MB, free: 352 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 1.042/1.042, allocations: 158.6 MB / 186 MB, free: 2.766 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.05205/0.05205, allocations: 10.66 MB / 249 MB, free: 4.352 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 2.354e-06/2.354e-06, allocations: 0 / 269.2 MB, free: 148 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.777e-05, allocations: 2.312 kB / 269.2 MB, free: 144 kB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001248/0.001266, allocations: 0.7136 MB / 269.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002277/0.001494, allocations: 59.73 kB / 270 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.001528, allocations: 0 / 270 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.001555, allocations: 0 / 270 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.045e-05/0.001645, allocations: 0 / 270 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.001786, allocations: 15.92 kB / 270 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.939e-05/0.001875, allocations: 31.92 kB / 270 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.75e-05/0.001943, allocations: 11.98 kB / 270 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.435e-05/0.001987, allocations: 11.98 kB / 270.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.067e-05/0.002038, allocations: 3.938 kB / 270.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.002057, allocations: 4 kB / 270.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-06/0.002066, allocations: 0 / 270.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.002087, allocations: 11.98 kB / 270.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.002103, allocations: 4 kB / 270.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.428e-05/0.002177, allocations: 15.92 kB / 270.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.002179, allocations: 0 / 270.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002179, allocations: 0 / 270.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.002182, allocations: 4 kB / 270.1 MB, free: 15.25 MB / 266.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.0003196/0.002502, allocations: 240.9 kB / 270.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.002534, allocations: 8.031 kB / 270.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.002559, allocations: 4.938 kB / 270.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.002675, allocations: 109.8 kB / 270.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.002691, allocations: 384 / 270.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.002704, allocations: 4.375 kB / 270.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.002865, allocations: 103.2 kB / 270.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.002871, allocations: 192 / 270.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.002881, allocations: 4.375 kB / 270.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.002886, allocations: 384 / 270.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.002e-05/0.002916, allocations: 23.84 kB / 270.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.003131, allocations: 153.2 kB / 270.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.76e-05/0.003189, allocations: 49.09 kB / 270.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.003208, allocations: 13.84 kB / 270.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.00322, allocations: 4 kB / 270.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.00324, allocations: 38.55 kB / 270.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.003241, allocations: 4 kB / 270.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 9.853e-05/0.003339, allocations: 49.64 kB / 270.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/0.003428, allocations: 110.7 kB / 271 MB, free: 14.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.528e-05/0.003474, allocations: 102.7 kB / 271.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.003484, allocations: 25.7 kB / 271.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.003512, allocations: 84.14 kB / 271.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.003528, allocations: 7.906 kB / 271.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.003553, allocations: 21.7 kB / 271.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.636e-05/0.003629, allocations: 319 kB / 271.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.003643, allocations: 12.86 kB / 271.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.802e-05/0.003671, allocations: 44.28 kB / 271.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.129e-05/0.003703, allocations: 21.7 kB / 271.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.003705, allocations: 0 / 271.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.813e-05/0.003753, allocations: 45.62 kB / 271.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.003766, allocations: 8 kB / 271.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.00377, allocations: 3.938 kB / 271.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.003779, allocations: 4.094 kB / 271.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.411e-05/0.003833, allocations: 11.94 kB / 271.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.003837, allocations: 3.984 kB / 271.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.003857, allocations: 4 kB / 271.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.003862, allocations: 0 / 271.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.503e-05/0.003897, allocations: 88.14 kB / 271.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.38e-05/0.003921, allocations: 52.2 kB / 271.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.471e-05/0.003935, allocations: 17.7 kB / 271.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.91e-07/0.003936, allocations: 4.031 kB / 271.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 3.436e-05/0.00397, allocations: 45.62 kB / 271.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.459e-06/0.003975, allocations: 4 kB / 271.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.003977, allocations: 4 kB / 271.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-06/0.003978, allocations: 4 kB / 271.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-05/0.00399, allocations: 4 kB / 271.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-06/0.003992, allocations: 3.938 kB / 271.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.541e-05/0.004007, allocations: 7.984 kB / 271.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-07/0.004008, allocations: 0 / 271.9 MB, free: 13.16 MB / 266.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.338e-05/0.004072, allocations: 192.3 kB / 272.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.004083, allocations: 0 / 272.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.93e-05/0.004103, allocations: 7.312 kB / 272.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.004104, allocations: 0 / 272.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.004107, allocations: 3.938 kB / 272.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.004111, allocations: 0 / 272.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.091e-05/0.004192, allocations: 69.89 kB / 272.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004192, allocations: 0 / 272.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.558e-05/0.004208, allocations: 7.938 kB / 272.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.00421, allocations: 4 kB / 272.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.004215, allocations: 7.984 kB / 272.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.004216, allocations: 0 / 272.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.004216, allocations: 0 / 272.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.004613, allocations: 0.9231 MB / 273.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.004624, allocations: 7.984 kB / 273.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.004635, allocations: 4 kB / 273.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.987e-05/0.004665, allocations: 7.984 kB / 273.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.004695, allocations: 4 kB / 273.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.004697, allocations: 3.938 kB / 273.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.176e-05/0.004709, allocations: 8.859 kB / 273.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004709, allocations: 4 kB / 273.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002601/0.004969, allocations: 15.98 kB / 273.2 MB, free: 11.8 MB / 266.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.899e-05/0.005028, allocations: 72.42 kB / 273.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.756e-05/0.005096, allocations: 29.66 kB / 273.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.005098, allocations: 0 / 273.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.913e-05/0.005117, allocations: 20.78 kB / 273.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.005219, allocations: 12.31 kB / 273.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.005446, allocations: 216.3 kB / 273.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.186e-05/0.005478, allocations: 55.34 kB / 273.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.175e-05/0.0055, allocations: 4 kB / 273.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.005549, allocations: 63.38 kB / 273.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of SimCode: time 3.41e-07/0.005549, allocations: 0 / 273.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of Templates: time 0.002012/0.007561, allocations: 0.704 MB / 274.4 MB, free: 10.55 MB / 266.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.824887042865157]