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.001557/0.001557, 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.001209/0.001209, allocations: 173 kB / 24.15 MB, free: 348 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.9181/0.9181, allocations: 158.6 MB / 186 MB, free: 2.773 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.04121/0.04121, allocations: 10.66 MB / 249 MB, free: 4.359 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.683e-06/1.683e-06, allocations: 0 / 269.3 MB, free: 100 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.062e-05, allocations: 6.25 kB / 269.3 MB, free: 92 kB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001954/0.001974, allocations: 0.753 MB / 270 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002617/0.002236, allocations: 55.75 kB / 270.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.931e-05/0.002275, allocations: 0 / 270.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.002304, allocations: 4 kB / 270.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.82e-05/0.002392, allocations: 3.938 kB / 270.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.00253, allocations: 11.98 kB / 270.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.815e-05/0.002628, allocations: 27.91 kB / 270.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.369e-05/0.002701, allocations: 8 kB / 270.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.365e-05/0.002755, allocations: 15.98 kB / 270.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.441e-05/0.002809, allocations: 15.86 kB / 270.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.002826, allocations: 0 / 270.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.002836, allocations: 4 kB / 270.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.002854, allocations: 4 kB / 270.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.648e-05/0.00287, allocations: 4 kB / 270.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.156e-05/0.002952, allocations: 19.91 kB / 270.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.002954, allocations: 0 / 270.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.002954, allocations: 0 / 270.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.002958, allocations: 4 kB / 270.2 MB, free: 15.15 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.0002885/0.003247, allocations: 232.9 kB / 270.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.003282, allocations: 12.03 kB / 270.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.00331, allocations: 4.938 kB / 270.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.003433, allocations: 105.8 kB / 270.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.003448, allocations: 4.375 kB / 270.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-06/0.003455, allocations: 384 / 270.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.003615, allocations: 111.1 kB / 270.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.003623, allocations: 192 / 270.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.00363, allocations: 384 / 270.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.003637, allocations: 8.375 kB / 270.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.847e-05/0.003665, allocations: 11.92 kB / 270.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.003891, allocations: 157.1 kB / 270.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.446e-05/0.003966, allocations: 49.25 kB / 270.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.481e-05/0.003991, allocations: 13.78 kB / 270.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.004003, allocations: 0 / 270.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.004033, allocations: 42.5 kB / 270.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.004034, allocations: 0 / 270.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.000127/0.004161, allocations: 49.62 kB / 271 MB, free: 14.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.004211, allocations: 110.8 kB / 271.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.371e-05/0.004275, allocations: 102.7 kB / 271.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.004287, allocations: 25.7 kB / 271.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.004322, allocations: 88.12 kB / 271.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.004342, allocations: 7.906 kB / 271.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.004373, allocations: 13.72 kB / 271.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.00447, allocations: 318.8 kB / 271.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.004488, allocations: 13.05 kB / 271.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.063e-05/0.004528, allocations: 60.44 kB / 271.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/0.004563, allocations: 21.66 kB / 271.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.004565, allocations: 0 / 271.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.703e-05/0.004632, allocations: 41.69 kB / 271.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.004644, allocations: 4 kB / 271.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.004649, allocations: 3.938 kB / 271.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.004663, allocations: 0 / 271.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.004728, allocations: 23.95 kB / 271.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.004731, allocations: 0 / 271.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.037e-05/0.004761, allocations: 4 kB / 271.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.004766, allocations: 0 / 271.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.763e-05/0.004803, allocations: 88.12 kB / 271.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.666e-05/0.00484, allocations: 52.27 kB / 271.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.511e-05/0.004865, allocations: 17.72 kB / 271.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.004867, allocations: 3.984 kB / 272 MB, free: 13.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 5.368e-05/0.004921, allocations: 41.67 kB / 272 MB, free: 13.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.214e-06/0.004928, allocations: 8 kB / 272 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-06/0.004929, allocations: 0 / 272 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-06/0.004931, allocations: 0 / 272 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.444e-05/0.004955, allocations: 7.984 kB / 272 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.004959, allocations: 3.938 kB / 272 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.193e-05/0.004981, allocations: 4 kB / 272 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-06/0.004984, allocations: 4 kB / 272 MB, free: 13.07 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 7.345e-05/0.005058, allocations: 184.1 kB / 272.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.005083, allocations: 12.05 kB / 272.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.803e-05/0.005101, allocations: 7.312 kB / 272.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.005103, allocations: 0 / 272.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.005107, allocations: 7.938 kB / 272.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.00511, allocations: 0 / 272.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.005224, allocations: 61.91 kB / 272.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.005224, allocations: 0 / 272.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.005255, allocations: 11.98 kB / 272.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.005256, allocations: 0 / 272.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.00526, allocations: 0 / 272.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.005262, allocations: 4 kB / 272.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.005264, allocations: 7.938 kB / 272.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.005633, allocations: 0.9188 MB / 273.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.005645, allocations: 7.953 kB / 273.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.005656, allocations: 3.984 kB / 273.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.424e-05/0.005721, allocations: 8 kB / 273.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.005754, allocations: 3.984 kB / 273.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.005756, allocations: 7.938 kB / 273.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.156e-05/0.005768, allocations: 4.859 kB / 273.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005768, allocations: 0 / 273.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004813/0.006249, allocations: 12 kB / 273.3 MB, free: 11.71 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 7.706e-05/0.006326, allocations: 80.42 kB / 273.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.806e-05/0.006414, allocations: 29.64 kB / 273.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.006418, allocations: 4 kB / 273.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.964e-05/0.006438, allocations: 8.859 kB / 273.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.006608, allocations: 11.94 kB / 273.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/0.006847, allocations: 225.1 kB / 273.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.803e-05/0.006875, allocations: 55.36 kB / 273.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.001e-05/0.006895, allocations: 0 / 273.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.006938, allocations: 63.3 kB / 273.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.006939, allocations: 0 / 273.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of Templates: time 0.00191/0.008849, allocations: 0.7157 MB / 274.5 MB, free: 10.45 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 -s gbode -gbm=radauIIA3 -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.548009802121669]